mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-12-03 12:14:12 +01:00
Fixed wrong property.
This commit is contained in:
@@ -75,7 +75,7 @@ class DNSRecord(models.Model):
|
|||||||
except AttributeError:
|
except AttributeError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
if self.type == "dkim" and result != self.dkim_public_key:
|
if self.type == "dkim" and result != self.domain.dkim_public_key:
|
||||||
self.error = _("Public key mismatchs")
|
self.error = _("Public key mismatchs")
|
||||||
self.updated = timezone.now()
|
self.updated = timezone.now()
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user