Revision 3773209917126e616caf1e5751e45822c7e70718
Committed on 03/05/2017 2:07 pm by
Jérôme Vieilledent <lolautruche@gmail.com> [GitHub Diff]
[Symfony 3] Fix missing csrf_protection setting
In Symfony 2.8/3.x, `csrf_protection` is disabled globally by default.
In order to use CSRF, it's mandatory as of Symfony 3.0 to at least use default values
for `framework.csrf_protection` setting. Otherwise `security.csrf.token_manager` service
won't exist, leading to `ServiceNotFoundException` during container compilation.