mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-18 21:49:37 -04:00
Stop referring to central gov in error messages
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