mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-16 17:47:02 +02:00
Add default to csv_export, readd content
This commit is contained in:
parent
5e1f99eae6
commit
e6812afe8b
3 changed files with 5 additions and 3 deletions
|
@ -38,7 +38,7 @@ def write_row(writer, columns, domain_info):
|
|||
if security_contacts:
|
||||
security_email = security_contacts[0].email
|
||||
|
||||
invalid_emails = {"registrar@dotgov.gov"}
|
||||
invalid_emails = {"registrar@dotgov.gov", "dotgov@cisa.dhs.gov"}
|
||||
# These are default emails that should not be displayed in the csv report
|
||||
if security_email is not None and security_email.lower() in invalid_emails:
|
||||
security_email = "(blank)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue