Skip to content

Commit 7d13bac

Browse files
committed
Minor tweak
1 parent 0e258f7 commit 7d13bac

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

security/csrf.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -331,11 +331,12 @@ Stateless CSRF Tokens
331331

332332
.. versionadded:: 7.2
333333

334-
Stateless anti-CSRF protection was introduced in Symfony 7.2, and set as default.
334+
Stateless anti-CSRF protection was introduced in Symfony 7.2.
335335

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

340341
.. configuration-block::
341342

0 commit comments

Comments
 (0)