mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-03 15:41:06 -04:00
Merge pull request #1969 from alphagov/no-free-text-from-url
Don’t populate support form with arbitrary text
This commit is contained in:
11
app/utils.py
11
app/utils.py
@@ -464,6 +464,17 @@ class AgreementInfo:
|
||||
else:
|
||||
return 'Can’t tell'
|
||||
|
||||
def as_request_for_agreement(self, with_owner=False):
|
||||
if with_owner and self.owner:
|
||||
return (
|
||||
'Please send me a copy of the GOV.UK Notify data sharing '
|
||||
'and financial agreement for {} to sign.'.format(self.owner)
|
||||
)
|
||||
return (
|
||||
'Please send me a copy of the GOV.UK Notify data sharing '
|
||||
'and financial agreement.'
|
||||
)
|
||||
|
||||
@staticmethod
|
||||
def get_matching_function(email_address_or_domain):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user