mirror of
https://github.com/django/django.git
synced 2025-06-07 04:29:12 +00:00
Fixed #31871 -- Updated SESSION_COOKIE_SAMESITE comment in global_settings.py.
Follow up to b33bfc383935cd26e19a2cf71d066ac6edd1425f.
This commit is contained in:
parent
58a336a674
commit
ad827ddaef
@ -470,7 +470,7 @@ SESSION_COOKIE_PATH = '/'
|
|||||||
# Whether to use the HttpOnly flag.
|
# Whether to use the HttpOnly flag.
|
||||||
SESSION_COOKIE_HTTPONLY = True
|
SESSION_COOKIE_HTTPONLY = True
|
||||||
# Whether to set the flag restricting cookie leaks on cross-site requests.
|
# 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'
|
SESSION_COOKIE_SAMESITE = 'Lax'
|
||||||
# Whether to save the session data on every request.
|
# Whether to save the session data on every request.
|
||||||
SESSION_SAVE_EVERY_REQUEST = False
|
SESSION_SAVE_EVERY_REQUEST = False
|
||||||
|
Loading…
x
Reference in New Issue
Block a user