Skip to content

Commit 0a2807f

Browse files
committed
Merge branch '6.4' into 7.2
* 6.4: Update csrf.rst
2 parents 1a43e55 + 4dfa3ee commit 0a2807f

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)