Middleware

The package provides a set of middleware to secure your pages from unauthenticated access:

  • sanctum:auth - middleware for pages that require an authenticated user

  • sanctum:guest - middleware for pages that require guest user

Last updated