symfony/symfony — pull request #9662 by bschussek (2013-11-30 11:01:49+00:00)
Title: [FrameworkBundle] Enabled csrf_protection by default if form.csrf_protection is enabled

| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #9429
| License | MIT
| Doc PR | -

This PR enables the CSRF protection services automatically if CSRF protection for forms is enabled. In this case, the CSRF protection services cannot be disabled anymore manually (the same as with the validation services).