mirror of https://github.com/django/django.git
[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
|
@ -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…
Reference in New Issue