Appearance
Part 9 - Authentication
PREREQUISITES
- Finished Laravel exercise -> Part 8 - Course detail
- Finished Laravel -> Authentication
- Update navigation component
- Links to register and login pages
- Dropdown with
- Initials of logged-in user
- Name of logged-in user
- Link to dashboard
- Update profile
- Logout
- Use studentadministration layout on
- Authentication pages
- Dashboard page
- Profile page
- Result:
- Update logo on authentication pages to Thomas More logo
- Result:
- Protect routes to dashboard and profile so only authenticated users can visit them
- Redirect others to the login page
- Make sure they are invisible in the navigation
- Result navigation of guest
- Result navigation of logged-in user
- Make admin middleware, to be used later
- Make sure only active users have access to the authentication pages
- Result: