Commit ae4317bb authored by Fabien Potencier's avatar Fabien Potencier

minor #881 Add symfony/security-csrf to FormServiceProvider docs (filbertkm)

This PR was merged into the 1.2.x-dev branch.

Discussion
----------

Add symfony/security-csrf to FormServiceProvider docs

Commits
-------

fd5624c9 Add symfony/security-csrf to FormServiceProvider docs
parents d9440d6d fd5624c9
......@@ -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