DEV Community

Discussion on: Multiple role-based authentication in Laravel

Collapse
 
computermaverick profile image
⚓Timmy Iwoni ⚓

In Martin's implementation there's a typo of the parenthesis when calling the Auth facade... So instead of Auth()::user()->role, it should be Auth::user()->role

Thread Thread
 
kaperskyguru profile image
Solomon Eseme

Oh that's true.. I will fix that..