Skip to content

Commit fb245a5

Browse files
committed
Updated the default values of some cookie config options
1 parent 3a3f0b8 commit fb245a5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

reference/configuration/framework.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1240,7 +1240,7 @@ to the cookie specification.
12401240
cookie_samesite
12411241
...............
12421242

1243-
**type**: ``string`` or ``null`` **default**: ``null``
1243+
**type**: ``string`` or ``null`` **default**: ``'lax'``
12441244

12451245
It controls the way cookies are sent when the HTTP request was not originated
12461246
from the same domain the cookies are associated to. Setting this option is
@@ -1271,10 +1271,10 @@ The possible values for this option are:
12711271
cookie_secure
12721272
.............
12731273

1274-
**type**: ``boolean`` or ``string`` **default**: ``false``
1274+
**type**: ``boolean`` or ``null`` **default**: ``null``
12751275

12761276
This determines whether cookies should only be sent over secure connections. In
1277-
addition to ``true`` and ``false``, there's a special ``'auto'`` value that
1277+
addition to ``true`` and ``false``, there's a special ``null`` value that
12781278
means ``true`` for HTTPS requests and ``false`` for HTTP requests.
12791279

12801280
cookie_httponly

0 commit comments

Comments
 (0)