Users module- Authorize route

Users module- Authorize route

lehel -
1 year ago

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.

Answer

ryanthompson -
1 year ago

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