Update initial disclose script

This commit is contained in:
Erin 2024-01-09 17:13:48 -08:00
parent 7c87718e2d
commit 683a2f4629
No known key found for this signature in database
GPG key ID: 1CAD275313C62460
2 changed files with 21 additions and 13 deletions

View file

@ -1401,6 +1401,8 @@ class Domain(TimeStampedModel, DomainHelper):
DF = epp.DiscloseField
fields = {DF.EMAIL}
disclose = is_security
# Delete after testing
logger.info("Updated domain contact to disclose: %s", disclose)
# Will only disclose DF.EMAIL if its not the default
return epp.Disclose(
flag=disclose,