From 05293cf686c9459e371ac5870d27132417274d24 Mon Sep 17 00:00:00 2001 From: Chris Hines <chris.hines@monash.edu> Date: Mon, 11 May 2020 15:30:32 +1000 Subject: [PATCH] revert cookie changes --- TES/tes/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/TES/tes/__init__.py b/TES/tes/__init__.py index a055e45..03deafd 100644 --- a/TES/tes/__init__.py +++ b/TES/tes/__init__.py @@ -14,9 +14,9 @@ import datetime app.config['PERMANENT_SESSION_LIFETIME'] = datetime.timedelta(seconds=3600) app.config['SESSION_REFRESH_EACH_REQUEST'] = True app.config['SESSION_COOKIE_NAME'] = 'tessession' -app.config['SESSION_COOKIE_SECURE'] = True -app.config['SESSION_COOKIE_HTTPONLY'] = True -app.config['SESSION_COOKIE_SAMESITE'] = 'Strict' +#app.config['SESSION_COOKIE_SECURE'] = True +#app.config['SESSION_COOKIE_HTTPONLY'] = True +#app.config['SESSION_COOKIE_SAMESITE'] = 'Strict' app.config['APPLICATION_ROOT'] = '/' if not app.config['LOCAL_DEV']: app.config['APPLICATION_ROOT'] = '/tes' -- GitLab