diff --git a/security/csrf_in_login_form.rst b/security/csrf_in_login_form.rst index b7fc2ded46a..51d73d6064b 100644 --- a/security/csrf_in_login_form.rst +++ b/security/csrf_in_login_form.rst @@ -162,6 +162,15 @@ using the login form: After this, you have protected your login form against CSRF attacks. +.. caution:: + + In applications using :doc:`Symfony Flex `, run this command to + install the form feature before using it: + + .. code-block:: terminal + + $ composer require form + .. tip:: You can change the name of the field by setting ``csrf_parameter`` and change