Merge branch 'master' into inbound_number_admin

This commit is contained in:
Rebecca Law
2017-08-15 15:08:58 +01:00
7 changed files with 8 additions and 6 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()):