From 675f19492cd0609927033fc9d3a027ec4e19fba1 Mon Sep 17 00:00:00 2001 From: Emmy D'Anello Date: Sun, 28 Apr 2024 15:04:15 +0200 Subject: [PATCH] Extend session cookie age from 3 hours to 2 weeks Signed-off-by: Emmy D'Anello --- tfjm/settings_prod.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tfjm/settings_prod.py b/tfjm/settings_prod.py index d7f48b8..2024aeb 100644 --- a/tfjm/settings_prod.py +++ b/tfjm/settings_prod.py @@ -27,7 +27,7 @@ SESSION_COOKIE_SECURE = False CSRF_COOKIE_SECURE = False CSRF_COOKIE_HTTPONLY = False X_FRAME_OPTIONS = 'DENY' -SESSION_COOKIE_AGE = 60 * 60 * 3 +SESSION_COOKIE_AGE = 60 * 60 * 24 * 7 * 2 # 2 weeks CHANNEL_LAYERS = { "default": {