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
cake 3 documentation says we don't need and don't have to call Auth->allow for login action:
You should not add the “login” action of your UsersController to allow list.
Doing so would cause problems with normal functioning of AuthComponent.
So how can I allow all my users to access users/login action when I use ACL? Should I call Acl->allow($user, 'controllers/users/login) for each user in my application? In cake 2 I used to put $this->Auth->allow('login'); in UsersControllerbeforeFilter method
The text was updated successfully, but these errors were encountered:
cake 3 documentation says we don't need and don't have to call
Auth->allow
for login action:So how can I allow all my users to access
users/login
action when I use ACL? Should I callAcl->allow($user, 'controllers/users/login)
for each user in my application? In cake 2 I used to put$this->Auth->allow('login');
inUsersController
beforeFilter
methodThe text was updated successfully, but these errors were encountered: