Extend time for session cookies

This commit is contained in:
Jake Howard 2022-08-27 23:54:31 +01:00
parent 358013e16a
commit 4b1d873bf8
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -281,6 +281,7 @@ X_FRAME_OPTIONS = "DENY"
SECURE_REFERRER_POLICY = "same-origin"
SESSION_COOKIE_SECURE = not DEBUG
SESSION_COOKIE_AGE = 2419200 # About a month
CSRF_COOKIE_SECURE = not DEBUG
CSRF_COOKIE_HTTPONLY = True
SESSION_COOKIE_HTTPONLY = True