Skip to content

Commit f590d4f

Browse files
committed
Improved the link to the CSRF config referece
1 parent 70d0f78 commit f590d4f

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

reference/configuration/framework.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,8 @@ settings is configured.
406406

407407
For more details, see :doc:`/forms`.
408408

409+
.. _reference-framework-csrf-protection:
410+
409411
csrf_protection
410412
~~~~~~~~~~~~~~~
411413

security/csrf.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ Forms created with the Symfony Form component include CSRF tokens by default
2626
and Symfony checks them automatically, so you don't have to anything to be
2727
protected 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

0 commit comments

Comments
 (0)