From aada91f2cbce3aab286f7672faea7d13b9a090f1 Mon Sep 17 00:00:00 2001 From: Rohan Chaturvedi Date: Sun, 12 Nov 2023 13:17:40 +0530 Subject: [PATCH] fix: bump session cookie ttl to 1 week (#107) Co-authored-by: Nimish <85357445+nimish-ks@users.noreply.github.com> --- 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