Auth Route
Closed this issue · 5 comments
Hello @Hesto i installed your package into a new project all's fine, good job. i'm new and just started job with L5.3
that looks like a support request:
i want to now with multi-auth how use roles and permissions in the right way (AUTHENTICATION access)? For example i want that a someone who is registered can't have access level to the admin dashboard... as much as i marked him as admin.
Shall i use middleware?
In your /routes dir you have some different files:
- web.php - everyone have access to this routes
- {guard}.php - only users authenticated users has access (for example if you installed 'admin' guard only users from admin table can access routes from /routes/admin.php)
OK i understand. So if i want to redirect the admin ,after he is signed in,to the home dashboard
for exemple, i should edit the route/admin.php
and create a new file called "home or dashboard" in the ressources/views/admin
?
?
Yes and you have to change redirect path in your LoginController.