mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-03 00:12:16 +02:00
Update initial disclose script
This commit is contained in:
parent
7c87718e2d
commit
683a2f4629
2 changed files with 21 additions and 13 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue