Skip to content

Commit 0d2f928

Browse files
committed
Merge branch '6.0' into 6.1
* 6.0: [Form][Security] Configure field_name under framework.form
2 parents 85c9de3 + e959333 commit 0d2f928

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

reference/configuration/framework.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -538,6 +538,15 @@ settings is configured.
538538

539539
For more details, see :doc:`/forms`.
540540

541+
.. _reference-form-field-name:
542+
543+
field_name
544+
..........
545+
546+
**type**: ``string`` **default**: ``_token``
547+
548+
This is the field name that you should give to the CSRF token field of your forms.
549+
541550
.. _reference-framework-csrf-protection:
542551

543552
csrf_protection

0 commit comments

Comments
 (0)