Skip to content

Commit e1dd12e

Browse files
committed
Merge branch '7.2' into 7.3
* 7.2: Minor tweak [Security] Stateless CSRF is enabled by default in 7.2
2 parents a0a6b3f + 7d13bac commit e1dd12e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

security/csrf.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -348,9 +348,10 @@ Stateless CSRF Tokens
348348

349349
Stateless anti-CSRF protection was introduced in Symfony 7.2.
350350

351-
By default CSRF tokens are stateful, which means they're stored in the session.
352-
But some token ids can be declared as stateless using the ``stateless_token_ids``
353-
option:
351+
Traditionally, CSRF tokens are stateful, meaning they're stored in the session.
352+
However, some token IDs can be declared as stateless using the
353+
``stateless_token_ids`` option. Stateless CSRF tokens are enabled by default
354+
in applications using :ref:`Symfony Flex <symfony-flex>`.
354355

355356
.. configuration-block::
356357

0 commit comments

Comments
 (0)