Users module- Authorize route
Created 7 years ago by lehel

Hello, I tried to authorize the register route. 'anomaly.module.users::role' => 'guest', 'uses' => 'Anomaly\UsersModule\Http\Controller\RegisterController@register' I get access denied error for admin,user and guest roles. The guest role is not working.

ryanthompson  —  7 years ago Best Answer

Hey there! Good find - turns out the guest role was not being considered (it works differently than the others).

I fixed it so you can composer update 😊

https://github.com/anomalylabs/users-module/commit/b68231eea8e0c312e65d57cfdc442b94da164928

Also worth pointing out this arose from this fix: https://github.com/pyrocms/pyrocms/issues/4108