Extend time for session cookies
This commit is contained in:
parent
358013e16a
commit
4b1d873bf8
1 changed files with 1 additions and 0 deletions
|
@ -281,6 +281,7 @@ X_FRAME_OPTIONS = "DENY"
|
||||||
SECURE_REFERRER_POLICY = "same-origin"
|
SECURE_REFERRER_POLICY = "same-origin"
|
||||||
|
|
||||||
SESSION_COOKIE_SECURE = not DEBUG
|
SESSION_COOKIE_SECURE = not DEBUG
|
||||||
|
SESSION_COOKIE_AGE = 2419200 # About a month
|
||||||
CSRF_COOKIE_SECURE = not DEBUG
|
CSRF_COOKIE_SECURE = not DEBUG
|
||||||
CSRF_COOKIE_HTTPONLY = True
|
CSRF_COOKIE_HTTPONLY = True
|
||||||
SESSION_COOKIE_HTTPONLY = True
|
SESSION_COOKIE_HTTPONLY = True
|
||||||
|
|
Loading…
Reference in a new issue