mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 14:29:51 -04:00
Removing csp console error (#2963)
* Removing csp console error * Fixed activity page console error as well
This commit is contained in:
@@ -66,6 +66,7 @@ class Config(object):
|
||||
SESSION_COOKIE_HTTPONLY = True
|
||||
SESSION_COOKIE_NAME = "notify_admin_session"
|
||||
SESSION_COOKIE_SECURE = True
|
||||
SESSION_COOKIE_SAMESITE = "Lax"
|
||||
# don't send back the cookie if it hasn't been modified by the request. this means that the expiry time won't be
|
||||
# updated unless the session is changed - but it's generally refreshed by `save_service_or_org_after_request`
|
||||
# every time anyway, except for specific endpoints (png/pdfs generally) where we've disabled that handler.
|
||||
|
||||
Reference in New Issue
Block a user