Don’t allow suppliers to sign up for own accounts

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.
This commit is contained in:
Chris Hill-Scott
2016-12-07 13:57:26 +00:00
parent b4a7ffff8d
commit db6bb77d74
2 changed files with 0 additions and 8 deletions

View File

@@ -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",
]

View File

@@ -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',
])