Skip to content

Commit 06fe160

Browse files
committed
minor #21322 framework.rst: fixed cookie_samesite default value (MacDada)
This PR was merged into the 7.3 branch. Discussion ---------- framework.rst: fixed `cookie_samesite` default value It used to be `null`, but since 7.0 it is `'lax'`: * https://github.com/symfony/symfony/blob/8c637721ffb5b1f239c31b13308cc92ba39701cb/UPGRADE-7.0.md?plain=1#L258 * https://github.com/symfony/symfony/blob/v7.3.2/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php#L705 Commits ------- ccef7ef framework.rst: fixed `cookie_samesite` default value
2 parents 4d5dbac + ccef7ef commit 06fe160

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/configuration/framework.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3040,7 +3040,7 @@ If not set, ``php.ini``'s `session.cookie_path`_ directive will be relied on.
30403040
cookie_samesite
30413041
...............
30423042

3043-
**type**: ``string`` or ``null`` **default**: ``null``
3043+
**type**: ``string`` or ``null`` **default**: ``'lax'``
30443044

30453045
It controls the way cookies are sent when the HTTP request did not originate
30463046
from the same domain that is associated with the cookies. Setting this option is

0 commit comments

Comments
 (0)