mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-09 02:13:12 -04:00
Update the cookie to secure on LIVE
Set the expiration of the cookie.
This commit is contained in:
@@ -20,7 +20,7 @@ class Config(object):
|
||||
SESSION_COOKIE_NAME = 'notify_admin_session'
|
||||
SESSION_COOKIE_PATH = '/admin'
|
||||
SESSION_COOKIE_HTTPONLY = True
|
||||
SESSION_COOKIE_SECURE = True
|
||||
SESSION_COOKIE_SECURE = False
|
||||
PERMANENT_SESSION_LIFETIME = 3600 # seconds
|
||||
|
||||
API_HOST_NAME = os.getenv('API_HOST_NAME')
|
||||
|
||||
Reference in New Issue
Block a user