diff --git a/app/config.py b/app/config.py index 7a2412e5e..2543c7a99 100644 --- a/app/config.py +++ b/app/config.py @@ -87,6 +87,7 @@ class Config(object): r"bl\.uk", r"stfc\.ac\.uk", r"wmfs\.net", + r"bbsrc\.ac\.uk", ] LOGO_UPLOAD_BUCKET_NAME = 'public-logos-local' diff --git a/tests/app/main/test_validators.py b/tests/app/main/test_validators.py index fd6caa69b..8c823aa70 100644 --- a/tests/app/main/test_validators.py +++ b/tests/app/main/test_validators.py @@ -96,6 +96,7 @@ def _gen_mock_field(x): 'test@bl.uk', 'test@stfc.ac.uk', 'test@wmfs.net', + 'test@bbsrc.ac.uk', ]) def test_valid_list_of_white_list_email_domains( client,