mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 14:29:51 -04:00
Merge pull request #1418 from alphagov/local-email-address-for-local-government
Tell local government folk that they can sign up
This commit is contained in:
@@ -36,7 +36,7 @@ class ValidGovEmail:
|
||||
def __call__(self, form, field):
|
||||
from flask import url_for
|
||||
message = (
|
||||
'Enter a central government email address.'
|
||||
'Enter a government email address.'
|
||||
' If you think you should have access'
|
||||
' <a href="{}">contact us</a>').format(url_for('main.support'))
|
||||
if not is_gov_user(field.data.lower()):
|
||||
|
||||
Reference in New Issue
Block a user