Skip to content

Commit 4dfa3ee

Browse files
committed
minor #20946 [Security] Update csrf.rst (Chris53897)
This PR was submitted for the 7.2 branch but it was merged into the 6.4 branch instead. Discussion ---------- [Security] Update csrf.rst i have no deeper knowledge. I just get over this while try to fixing problems with csrf Please check with https://symfony.com/doc/7.3/security.html#csrf-protection-in-login-forms Commits ------- 347b1c1 Update csrf.rst
2 parents 759ce7a + 347b1c1 commit 4dfa3ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/csrf.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ to do anything to be protected against CSRF attacks.
112112

113113
.. _form-csrf-customization:
114114

115-
By default Symfony adds the CSRF token in a hidden field called ``_token``, but
115+
By default Symfony adds the CSRF token in a hidden field called ``_csrf_token``, but
116116
this can be customized (1) globally for all forms and (2) on a form-by-form basis.
117117
Globally, you can configure it under the ``framework.form`` option:
118118

0 commit comments

Comments
 (0)