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
It returns me role instead of return true or false.
Also i want to know one more thing that how exactely Auth::user()->hasRole() is working?
Is it compare user role with existing role in my database? If yes than how?
And let me know how to do this stuff in laravel controller? I know the thing but need to confirm.
The text was updated successfully, but these errors were encountered:
Hello there,
I am using this plugin in laravel, when i put this condition in laravel controller
It returns me role instead of return true or false.
Also i want to know one more thing that how exactely Auth::user()->hasRole() is working?
Is it compare user role with existing role in my database? If yes than how?
And let me know how to do this stuff in laravel controller? I know the thing but need to confirm.
The text was updated successfully, but these errors were encountered: