Fix for bug of cookie expiry.

This commit is contained in:
Nicholas Staples
2016-02-15 11:43:16 +00:00
parent 5928c3bb2c
commit 2d4d88f9de
2 changed files with 2 additions and 1 deletions

View File

@@ -23,6 +23,7 @@ class Config(object):
SESSION_COOKIE_HTTPONLY = True
SESSION_COOKIE_SECURE = False
PERMANENT_SESSION_LIFETIME = 3600 # seconds
SESSION_REFRESH_EACH_REQUEST = True
API_HOST_NAME = os.getenv('API_HOST_NAME')
NOTIFY_API_SECRET = os.getenv('NOTIFY_API_SECRET', "dev-secret")