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
You are right. This becomes a bit tricky when using Symfony 4. The "easy" solution is to install the Form component for the function to be available. If you want to solve this in a cleaner way, you may want to implement the function yourself. You can take a look at symfony/symfony#25197 to see how easy this is in fact.
@Guibzs good catch. The good solution will come in Symfony 4.1 thanks to the change made by @xabbuh, but meanwhile we c
8000
an improve this article as proposed in #8821.
javiereguiluz
changed the title
Unknonw Twig function csrf_token
Unknown Twig function csrf_token
Dec 4, 2017
See symfony-docs/security/csrf_in_login_form.rst
There's no more csrf_token function included in twig since Symfony 4.0.
Or is there a missing composer require ?
The text was updated successfully, but these errors were encountered: