Lesson locked
Please enrol in the course or become a Pro member to access this lesson.
Enrol to course
Are you already enrolled? Log in to
continue learning.
Guest users
Similar to making some routes accessible to only authenticated users, we can also flip it by making certain routes accessible to only unauthenticated users.
What you'll learn
- How to create a custom middleware