Skip to content

Commit 3c297e6

Browse files
authored
Update csrf.rst
1 parent 1a43e55 commit 3c297e6

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)