Locked video
Please enrol in the course or become Pro to watch this video.
Enrol to course
Are you already enrolled? Log in to continue learning.
Authenticated users
We have a user dashboard that should be accessible to only authenticated users, but as it stands, anyone can kinda access it. In this lesson, we'll be adding a way to enforce that the dashboard is indeed accessible to only authenticated users.
What you'll learn
- Restrict routes access using a middleware