Fixed #31871 -- Updated SESSION_COOKIE_SAMESITE comment in global_settings.py.

Follow up to b33bfc3839.
This commit is contained in:
אורי 2020-08-10 09:46:34 +03:00 committed by GitHub
parent 58a336a674
commit ad827ddaef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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