diff --git a/app/main/validators.py b/app/main/validators.py index 533ef0cab..846fad424 100644 --- a/app/main/validators.py +++ b/app/main/validators.py @@ -31,8 +31,7 @@ class ValidEmailDomainRegex(object): message = ( 'Enter a central government email address.' ' If you think you should have access' - ' contact us').format( - "https://docs.google.com/forms/d/1AL8U-xJX_HAFEiQiJszGQw0PcEaEUnYATSntEghNDGo/viewform") + ' contact us').format(url_for('main.feedback')) valid_domains = current_app.config.get('EMAIL_DOMAIN_REGEXES', []) email_regex = "[^\@^\s]+@([^@^\\.^\\s]+\.)*({})$".format("|".join(valid_domains)) if not re.match(email_regex, field.data.lower()):