File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -406,6 +406,8 @@ settings is configured.
406406
407407 For more details, see :doc: `/forms `.
408408
409+ .. _reference-framework-csrf-protection :
410+
409411csrf_protection
410412~~~~~~~~~~~~~~~
411413
Original file line number Diff line number Diff line change @@ -26,9 +26,9 @@ Forms created with the Symfony Form component include CSRF tokens by default
2626and Symfony checks them automatically, so you don't have to anything to be
2727protected against CSRF attacks.
2828
29- This automatic protection is enabled/disabled with the ``csrf_protection `` in
30- the ``config/packages/framework.yaml `` file. For more information, see the
31- :ref: `form configuration reference <reference-framework-form >`.
29+ This automatic protection is enabled/disabled with the ``csrf_protection `` option
30+ in the ``config/packages/framework.yaml `` file. For more information, see the
31+ :ref: `CSRF configuration reference <reference-framework-csrf-protection >`.
3232
3333.. _form-csrf-customization :
3434
You can’t perform that action at this time.
0 commit comments