mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-07 08:18:24 -04:00
Activating CSRF for staging/demo/dev environments.
Signed-off-by: Cliff Hill <clifford.hill@gsa.gov>
This commit is contained in:
@@ -118,7 +118,7 @@ class Development(Config):
|
|||||||
|
|
||||||
class Test(Development):
|
class Test(Development):
|
||||||
TESTING = True
|
TESTING = True
|
||||||
WTF_CSRF_ENABLED = False
|
WTF_CSRF_ENABLED = True
|
||||||
ASSET_DOMAIN = "static.example.com"
|
ASSET_DOMAIN = "static.example.com"
|
||||||
ASSET_PATH = "https://static.example.com/"
|
ASSET_PATH = "https://static.example.com/"
|
||||||
|
|
||||||
@@ -164,7 +164,7 @@ class E2ETest(Staging):
|
|||||||
|
|
||||||
# Borrowed from test environment
|
# Borrowed from test environment
|
||||||
TESTING = True
|
TESTING = True
|
||||||
WTF_CSRF_ENABLED = False
|
WTF_CSRF_ENABLED = True
|
||||||
|
|
||||||
# buckets - mirror staging
|
# buckets - mirror staging
|
||||||
CSV_UPLOAD_BUCKET = cloud_config.s3_credentials(
|
CSV_UPLOAD_BUCKET = cloud_config.s3_credentials(
|
||||||
|
|||||||
Reference in New Issue
Block a user