b2bcodext / cms-form-builder

CMS Form Builder is a flexible OroCommerce extension that allows you to easily create forms via UI
Other
8 stars 4 forks source link

[DEPRECATION NOTICE] Redirect to login page after submitting a form #14

Open dnahrebecki opened 2 years ago

dnahrebecki commented 2 years ago

I received many reports recently that after creating a new form and adding it to a landing page, when anonymous users try to submit the form - they are redirected to login page. This is because of the lack of the proper permissions for not logged in users. To fix it, go to Customer User Roles and update Anonymous User Role making sure that "Respond to CMS forms" is checked.

However, because of the confusion, I'll be removing this check in the main controller in the further releases: https://github.com/b2bcodext/cms-form-builder/blob/release/2.2/src/B2bCode/Bundle/CmsFormBundle/Controller/Frontend/AjaxFormController.php#L30