Commit fd5624c9 authored by Katie Filbert's avatar Katie Filbert

Add symfony/security-csrf to FormServiceProvider docs

parent 8c157d15
...@@ -78,6 +78,14 @@ Registering ...@@ -78,6 +78,14 @@ Registering
"symfony/locale": "~2.3" "symfony/locale": "~2.3"
} }
The Symfony Security CSRF component is used to protect forms against CSRF attacks:
.. code-block:: json
"require": {
"symfony/security-csrf": "~2.4"
}
If you want to use forms in your Twig templates, make sure to install the If you want to use forms in your Twig templates, make sure to install the
Symfony Twig Bridge: Symfony Twig Bridge:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment