I have 2 roles, which is admin
and user
. Now when logging in, the admin goes to the dashboard
route while the user goes to home
. When user is logged in and changes the url to http://127.0.0.1:8000/dashboard
it can access the admin's panel and I don't want that. How can I do achieve this?
PS. I'm new to Laravel
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2mPBpDv
via IFTTT
Aucun commentaire:
Enregistrer un commentaire