Skip to content
Snippets Groups Projects
Commit ca0f6041 authored by Jonas Braathen's avatar Jonas Braathen
Browse files

Change session cookie age to 24 hours

parent 3ac692f5
No related branches found
No related tags found
1 merge request!378Change session cookie age to 24 hours
Pipeline #178504 passed
...@@ -71,7 +71,7 @@ AUTHENTICATION_BACKENDS = [ ...@@ -71,7 +71,7 @@ AUTHENTICATION_BACKENDS = [
"gregui.authentication.auth_backends.GregOIDCBackend", "gregui.authentication.auth_backends.GregOIDCBackend",
] ]
SESSION_COOKIE_AGE = 1800 # lifetime of session in seconds SESSION_COOKIE_AGE = 24 * 3600 # 24 hours
CSRF_COOKIE_SAMESITE = "Lax" CSRF_COOKIE_SAMESITE = "Lax"
SESSION_COOKIE_SAMESITE = "Lax" SESSION_COOKIE_SAMESITE = "Lax"
......
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