mirror of
https://github.com/django/django.git
synced 2025-07-24 05:36:15 +00:00
[3.1.x] Fixed #31934 -- Added note about the default of SameSite cookie flag in modern browsers.
Backport of 70731fc6fe
from master
This commit is contained in:
parent
c4e5384e73
commit
eda59ba2ec
1 changed files with 5 additions and 0 deletions
|
@ -3261,6 +3261,11 @@ Possible values for the setting are:
|
|||
|
||||
* ``False``: disables the flag.
|
||||
|
||||
.. note::
|
||||
|
||||
Modern browsers provide a more secure default policy for the ``SameSite``
|
||||
flag and will assume ``Lax`` for cookies without an explicit value set.
|
||||
|
||||
.. versionchanged:: 3.1
|
||||
|
||||
Setting ``SESSION_COOKIE_SAMESITE = 'None'`` was allowed.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue