From ced6562566d13944247de6d2c6e353356bf202a5 Mon Sep 17 00:00:00 2001 From: MatTheCat Date: Tue, 29 Nov 2022 13:53:45 +0100 Subject: [PATCH] =?UTF-8?q?[Security]=20Rename=20logout=E2=80=99s=20`csrf?= =?UTF-8?q?=5Ftoken=5Fgenerator`=20to=20`csrf=5Ftoken=5Fmanager`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- reference/configuration/security.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/reference/configuration/security.rst b/reference/configuration/security.rst index 10365ab21bf..f0f28a00180 100644 --- a/reference/configuration/security.rst +++ b/reference/configuration/security.rst @@ -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 @@ -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``