diff --git a/edivorce/settings/local.py b/edivorce/settings/local.py index 0e7bc52a..64503673 100644 --- a/edivorce/settings/local.py +++ b/edivorce/settings/local.py @@ -13,7 +13,7 @@ DATABASES = { DEBUG = True CSRF_COOKIE_AGE = None -SESSION_COOKIE_AGE = None +SESSION_COOKIE_AGE = 3600 TEMPLATES[0]["OPTIONS"]["debug"] = True WEASYPRINT_URL = 'http://localhost:5005' diff --git a/edivorce/settings/openshift.py b/edivorce/settings/openshift.py index cdc62d7c..3c615d30 100644 --- a/edivorce/settings/openshift.py +++ b/edivorce/settings/openshift.py @@ -54,7 +54,7 @@ if DEPLOYMENT_TYPE == 'dev': PROXY_URL_PREFIX = os.getenv('PROXY_URL_PREFIX', '/divorce-dev') DEBUG = True CSRF_COOKIE_AGE = None - SESSION_COOKIE_AGE = None + SESSION_COOKIE_AGE = 3600 REGISTER_URL = 'https://www.test.bceid.ca/directories/bluepages/details.aspx?serviceID=5522' if DEPLOYMENT_TYPE == 'test':