Merge branch 'main' into za/1701-prevent-federal-agency-modifying-AO

This commit is contained in:
zandercymatics 2024-03-13 12:19:20 -06:00
commit f6462d4ccc
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
96 changed files with 2690 additions and 1971 deletions

View file

@ -898,8 +898,8 @@ class Domain(TimeStampedModel, DomainHelper):
def security_contact(self, contact: PublicContact):
"""makes the contact in the registry,
for security the public contact should have the org or registrant information
from domain information (not domain application)
and should have the security email from DomainApplication"""
from domain information (not domain request)
and should have the security email from DomainRequest"""
logger.info("making security contact in registry")
self._set_singleton_contact(contact, expectedType=contact.ContactTypeChoices.SECURITY)