Update domain.py

This commit is contained in:
zandercymatics 2023-10-03 11:36:56 -06:00
parent 67d177dc75
commit 914b2da187
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -856,6 +856,7 @@ class Domain(TimeStampedModel, DomainHelper):
disclose = (
is_security and contact.email != PublicContact.get_default_security().email
)
# Will only disclose DF.EMAIL if its not the default
return epp.Disclose(
flag=disclose,
fields=fields,