Skip to content

Commit

Permalink
[3.1.x] Fixed #31934 -- Added note about the default of SameSite cook…
Browse files Browse the repository at this point in the history
…ie flag in modern browsers.

Backport of 70731fc from master
  • Loading branch information
hramezani authored and felixxm committed Aug 31, 2020
1 parent c4e5384 commit eda59ba
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/ref/settings.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit eda59ba

Please sign in to comment.