Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 86ec98c

Browse filesBrowse 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
Copy full SHA for 86ec98c

File tree

Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed

‎reference/configuration/security.rst

Copy file name to clipboardExpand all lines: reference/configuration/security.rst
+4-4Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.