Playing Next Lesson In
seconds

Let's Learn AdonisJS 6 #7.6

Protecting Routes with Auth, Guest, and Admin Middleware

In This Lesson

We'll learn about the auth and guest middleware included when we created our AdonisJS 6 project. Then, we'll create our own named middleware that will allow us to restrict page access to only users with the admin role.

Created by
@tomgobich
Published

Join the Discussion 0 comments

Create a free account to join in on the discussion
robot comment bubble

Be the first to comment!