Skip to content

Commit

Permalink
Fix #583 (#584)
Browse files Browse the repository at this point in the history
  • Loading branch information
tnqzh123 authored Jan 12, 2024
1 parent 739b9c9 commit 866e182
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Providers/RouteServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function map(Router $router): void

foreach ($router->getRoutes()->getRoutesByName() as $name => $route) {
if (Str::startsWith($name, ['passport.authorizations', 'passport.tokens', 'passport.clients'])) {
$route->middleware('verified');
$route->middleware(['auth', 'verified']);
}
}

Expand Down

0 comments on commit 866e182

Please sign in to comment.