You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bug symfony#9662 [FrameworkBundle] Enabled csrf_protection by default if form.csrf_protection is enabled (bschussek)
This PR was submitted for the master branch but it was merged into the 2.4 branch instead (closessymfony#9662).
Discussion
----------
[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 | symfony#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).
Commits
-------
b5e5c71 [FrameworkBundle] Enabled csrf_protection by default if form.csrf_protection is enabled
0 commit comments