From 163d6c8a0926e73c62a9f97b09d9229b6a95b831 Mon Sep 17 00:00:00 2001 From: rohan-chaturvedi Date: Sat, 11 Nov 2023 14:40:05 +0530 Subject: [PATCH] fix: bump session cookie ttl to 1 week --- backend/backend/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/backend/settings.py b/backend/backend/settings.py index db939fea0..4c1abef93 100644 --- a/backend/backend/settings.py +++ b/backend/backend/settings.py @@ -53,7 +53,7 @@ SESSION_COOKIE_DOMAIN = os.getenv('SESSION_COOKIE_DOMAIN') -SESSION_COOKIE_AGE = 86400 # 24 hours +SESSION_COOKIE_AGE = 604800 # 1 week, in seconds # Application definition