From 636facb71cd9805495098e98232c53f576d3f2f7 Mon Sep 17 00:00:00 2001 From: Pete Herlihy Date: Fri, 22 Apr 2016 15:58:17 +0100 Subject: [PATCH] Updated the contact us link for non gov.uk domains trying to register. --- app/main/validators.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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()):