mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 14:09:20 -04:00
Fixed email bug and added new exhaustive tests.
This commit is contained in:
20
config.py
20
config.py
@@ -37,16 +37,16 @@ class Config(object):
|
||||
WTF_CSRF_ENABLED = True
|
||||
|
||||
EMAIL_DOMAIN_REGEXES = [
|
||||
"gov.uk",
|
||||
"mod.uk",
|
||||
"mil.uk",
|
||||
"ddc-mod.org",
|
||||
"slc.co.uk"
|
||||
"gov.scot",
|
||||
"parliament.uk",
|
||||
"nhs.uk",
|
||||
"nhs.net",
|
||||
"police.uk"]
|
||||
"gov\.uk",
|
||||
"mod\.uk",
|
||||
"mil\.uk",
|
||||
"ddc-mod\.org",
|
||||
"slc\.co\.uk",
|
||||
"gov\.scot",
|
||||
"parliament\.uk",
|
||||
"nhs\.uk",
|
||||
"nhs\.net",
|
||||
"police\.uk"]
|
||||
|
||||
|
||||
class Development(Config):
|
||||
|
||||
Reference in New Issue
Block a user