mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-12 01:48:54 -04:00
Merge pull request #1140 from alphagov/session-timeout
set session timeout to 20 hours
This commit is contained in:
@@ -38,7 +38,7 @@ class Config(object):
|
||||
NOTIFY_APP_NAME = 'admin'
|
||||
NOTIFY_LOG_LEVEL = 'DEBUG'
|
||||
NOTIFY_LOG_PATH = '/var/log/notify/application.log'
|
||||
PERMANENT_SESSION_LIFETIME = 3600 # seconds
|
||||
PERMANENT_SESSION_LIFETIME = 20 * 60 * 60 # 20 hours
|
||||
REMEMBER_COOKIE_DURATION = timedelta(days=1)
|
||||
REMEMBER_COOKIE_HTTPONLY = True
|
||||
REMEMBER_COOKIE_NAME = 'notify_admin_remember_me'
|
||||
|
||||
Reference in New Issue
Block a user