From ad827ddaef05069a1385cc2d26fd2ab9c6ba1f4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D7=90=D7=95=D7=A8=D7=99?= Date: Mon, 10 Aug 2020 09:46:34 +0300 Subject: [PATCH] Fixed #31871 -- Updated SESSION_COOKIE_SAMESITE comment in global_settings.py. Follow up to b33bfc383935cd26e19a2cf71d066ac6edd1425f. --- django/conf/global_settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/conf/global_settings.py b/django/conf/global_settings.py index f441c66bc8..381ad63ae6 100644 --- a/django/conf/global_settings.py +++ b/django/conf/global_settings.py @@ -470,7 +470,7 @@ SESSION_COOKIE_PATH = '/' # Whether to use the HttpOnly flag. SESSION_COOKIE_HTTPONLY = True # Whether to set the flag restricting cookie leaks on cross-site requests. -# This can be 'Lax', 'Strict', or None to disable the flag. +# This can be 'Lax', 'Strict', 'None', or False to disable the flag. SESSION_COOKIE_SAMESITE = 'Lax' # Whether to save the session data on every request. SESSION_SAVE_EVERY_REQUEST = False