From 96c4492f85885759a8c5fc17eb94ef162a1fecd2 Mon Sep 17 00:00:00 2001 From: earlinn Date: Tue, 26 Dec 2023 21:04:40 +0600 Subject: [PATCH] Turn back SESSION_COOKIE_SECURE setting to True --- backend/good_food/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/good_food/settings.py b/backend/good_food/settings.py index e1076e5..5a1b86d 100644 --- a/backend/good_food/settings.py +++ b/backend/good_food/settings.py @@ -260,7 +260,7 @@ # Security & sessions USE_X_FORWARDED_HOST = True SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https") -SESSION_COOKIE_SECURE = False # TODO: turn back to True then +SESSION_COOKIE_SECURE = True CSRF_COOKIE_SECURE = True # TODO: change before presentation SESSION_COOKIE_SAMESITE = "None"