From 347b1c1c5e1052249a869e599be6f430d7c44708 Mon Sep 17 00:00:00 2001 From: chris Date: Thu, 8 May 2025 09:16:50 +0200 Subject: [PATCH] Update csrf.rst --- security/csrf.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/csrf.rst b/security/csrf.rst index 48e1a09ec2a..2902ab27d61 100644 --- a/security/csrf.rst +++ b/security/csrf.rst @@ -112,7 +112,7 @@ to do anything to be protected against CSRF attacks. .. _form-csrf-customization: -By default Symfony adds the CSRF token in a hidden field called ``_token``, but +By default Symfony adds the CSRF token in a hidden field called ``_csrf_token``, but this can be customized (1) globally for all forms and (2) on a form-by-form basis. Globally, you can configure it under the ``framework.form`` option: