Closed mdeanquin0520 closed 3 months ago
Make to create permissions file and allow access to your custom controller, see https://github.com/CakeDC/users/blob/11.next-cake4/config/permissions.php
@mdeanquin0520 ^
@mdeanquin0520 can we close the issue?
I created a project with cakephp 5.x and added CakeDC/users plugin, when I enter the site it doesn't even show me the login page, it directly gives me the ERR_TOO_MANY_REDIRECTS error page and for some reason it doesn't change the /vendor/cakedc/users/config/users.php to /config/users.php, I am using it in my local computer with wampserver in Windows 10. This is the code for bootstrap method in Application.php:
And what I only changed in users.php is the table and controller attributes to MyUsers, the RememberMe active and checked attributes to false, the Auth.AuthenticationComponent.loginRedirect to /home, and put in routes.php the / route to controller MyUsers and action login. How can I solve this issue?