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:
Chris Hill-Scott
2017-08-11 16:20:06 +01:00
committed by GitHub
4 changed files with 4 additions and 4 deletions

View File

@@ -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()):