From db6bb77d7472f0fc9c4a4e1b0e92151698296c80 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Wed, 7 Dec 2016 13:57:26 +0000 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20allow=20suppliers=20to=20sign?= =?UTF-8?q?=20up=20for=20own=20accounts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Suppliers need to be invited by people who work for the government. People who work for the government can invite anyone to join their team, no matter what their email address is. So there’s no need for these domains to be in the list now. --- config.py | 6 ------ tests/app/main/test_validators.py | 2 -- 2 files changed, 8 deletions(-) diff --git a/config.py b/config.py index 12659dc91..ec929e34d 100644 --- a/config.py +++ b/config.py @@ -61,13 +61,7 @@ class Config(object): r"nhs\.uk", r"nhs\.net", r"police\.uk", - r"kainos\.com", - r"salesforce\.com", - r"bitzesty\.com", r"dclgdatamart\.co\.uk", - r"valtech\.co\.uk", - r"cgi\.com", - r"capita\.co\.uk", r"ucds\.email", r"naturalengland\.org\.uk", ] diff --git a/tests/app/main/test_validators.py b/tests/app/main/test_validators.py index cc9c759e3..672666bf5 100644 --- a/tests/app/main/test_validators.py +++ b/tests/app/main/test_validators.py @@ -79,8 +79,6 @@ def _gen_mock_field(x): 'test@police.uk', 'test@gov.police.uk', 'test@GOV.PoliCe.uk', - 'test@valtech.co.uk', - 'test@cgi.com', 'test@ucds.email', 'test@naturalengland.org.uk', ])