Symfony 6.1 csrf protection
dannyvw opened this issue · 0 comments
dannyvw commented
Sylius version affected: v1.10.0-ALPHA.1
Description
The csrf_protected value is configured, but is triggering the following error
CSRF protection is not enabled in your application. Enable it with the "csrf_protection" key in "config/packages/framework.yaml". triggered in https://github.com/Sylius/SyliusResourceBundle/blob/1.10/src/Bundle/Controller/ControllerTrait.php#L395
Steps to reproduce
Possible Solution
Set service "security.csrf.token_manager" to public in the same way as is done for twig?