[cookbook/csrf_in_login_form] Confusion around csrf_token_generator and csrf_provider for form_login #6194
Labels
actionable
Clear and specific issues ready for anyone to take them.
bug
hasPR
A Pull Request has already been submitted for this issue.
Security
In the docs for 2.7 under the
form_login
iscsrf_token_generator
. In docs for 2.8 there is a note thatcsrf_token_generator
was introduced in 2.4. In docs for 2.6 there iscsrf_provider
.When using
csrf_token_generator
in symfony 2.7 we are getting exception:Moreover in the docs for FosUserBundle there is a comment in yml
It confuses a lot. I assume that csrf_token_generator was introduced in 2.8. Is that right?
The text was updated successfully, but these errors were encountered: