Commit fd5624c9 authored by Katie Filbert's avatar Katie Filbert

Add symfony/security-csrf to FormServiceProvider docs

parent 8c157d15
......@@ -77,6 +77,14 @@ Registering
"require": {
"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
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