diff --git a/app/Providers/RouteServiceProvider.php b/app/Providers/RouteServiceProvider.php index 8f53f562..7de756bf 100644 --- a/app/Providers/RouteServiceProvider.php +++ b/app/Providers/RouteServiceProvider.php @@ -29,7 +29,7 @@ class RouteServiceProvider extends ServiceProvider foreach ($router->getRoutes()->getRoutesByName() as $name => $route) { if (Str::startsWith($name, ['passport.authorizations', 'passport.tokens', 'passport.clients'])) { - $route->middleware('verified'); + $route->middleware(['auth', 'verified']); } }