Skip to content
Snippets Groups Projects
Commit c88ebabc authored by Chris Hines's avatar Chris Hines
Browse files

tighten the options around cookies for better security

parent e0022ef7
No related branches found
No related tags found
3 merge requests!77Revert "disable agressive kill and restart",!35Dev,!13Dev
Pipeline #7657 passed
......@@ -12,6 +12,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['APPLICATION_ROOT'] = '/'
if not app.config['LOCAL_DEV']:
app.config['APPLICATION_ROOT'] = '/tes'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment