Skip to content

[Security] Rename logout’s csrf_token_generator to csrf_token_manager #17482

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 30, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions reference/configuration/security.rst
Original file line number Diff line number Diff line change
Expand Up @@ -465,8 +465,8 @@ enable_csrf
**type**: ``boolean`` **default**: ``null``

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

.. versionadded:: 6.2

Expand All @@ -479,8 +479,8 @@ csrf_parameter

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

csrf_token_generator
~~~~~~~~~~~~~~~~~~~~
csrf_token_manager
~~~~~~~~~~~~~~~~~~

**type**: ``string`` **default**: ``null``

Expand Down