mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-21 00:34:43 +02:00
Linting
This commit is contained in:
parent
bcd44f42bf
commit
5b047039f2
2 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ class LogCode(Enum):
|
||||||
|
|
||||||
class DefaultEmail(Enum):
|
class DefaultEmail(Enum):
|
||||||
"""Stores the string values of default emails
|
"""Stores the string values of default emails
|
||||||
|
|
||||||
Overview of emails:
|
Overview of emails:
|
||||||
- PUBLIC_CONTACT_DEFAULT: "dotgov@cisa.dhs.gov"
|
- PUBLIC_CONTACT_DEFAULT: "dotgov@cisa.dhs.gov"
|
||||||
- LEGACY_DEFAULT: "registrar@dotgov.gov"
|
- LEGACY_DEFAULT: "registrar@dotgov.gov"
|
||||||
|
|
|
@ -143,7 +143,7 @@ class DomainView(DomainBaseView):
|
||||||
context = super().get_context_data(**kwargs)
|
context = super().get_context_data(**kwargs)
|
||||||
|
|
||||||
default_emails = [DefaultEmail.PUBLIC_CONTACT_DEFAULT.value, DefaultEmail.LEGACY_DEFAULT.value]
|
default_emails = [DefaultEmail.PUBLIC_CONTACT_DEFAULT.value, DefaultEmail.LEGACY_DEFAULT.value]
|
||||||
|
|
||||||
context["hidden_security_emails"] = default_emails
|
context["hidden_security_emails"] = default_emails
|
||||||
|
|
||||||
security_email = self.object.get_security_email()
|
security_email = self.object.get_security_email()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue