Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9ddaf7c

Browse filesBrowse files
committed
Merge branch '7.2' into 7.3
* 7.2: Update csrf.rst
2 parents a51f4a0 + 0a2807f commit 9ddaf7c
Copy full SHA for 9ddaf7c

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎security/csrf.rst

Copy file name to clipboardExpand all lines: security/csrf.rst
+1-1Lines changed: 1 addition & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.