Skip to content

Commit 86ec98c

Browse files
committed
feature #17482 [Security] Rename logout’s csrf_token_generator to csrf_token_manager (MatTheCat)
This PR was squashed before being merged into the 6.3 branch. Discussion ---------- [Security] Rename logout’s `csrf_token_generator` to `csrf_token_manager` Follow-up of symfony/symfony#48387 Should I still mention the deprecated `csrf_token_generator` in the documentation? If yes, how? Commits ------- ced6562 [Security] Rename logout’s `csrf_token_generator` to `csrf_token_manager`
2 parents aeb2439 + ced6562 commit 86ec98c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

reference/configuration/security.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -465,8 +465,8 @@ enable_csrf
465465
**type**: ``boolean`` **default**: ``null``
466466

467467
Set this option to ``true`` to enable CSRF protection in the logout process
468-
using Symfony's default CSRF token generator. Set also the ``csrf_token_generator``
469-
option if you need to use a custom CSRF token generator.
468+
using Symfony's default CSRF token manager. Set also the ``csrf_token_manager``
469+
option if you need to use a custom CSRF token manager.
470470

471471
.. versionadded:: 6.2
472472

@@ -479,8 +479,8 @@ csrf_parameter
479479

480480
The name of the parameter that stores the CSRF token value.
481481

482-
csrf_token_generator
483-
~~~~~~~~~~~~~~~~~~~~
482+
csrf_token_manager
483+
~~~~~~~~~~~~~~~~~~
484484

485485
**type**: ``string`` **default**: ``null``
486486

0 commit comments

Comments
 (0)