diff --git a/bootstrap/app.php b/bootstrap/app.php index fcbe18f..239a282 100644 --- a/bootstrap/app.php +++ b/bootstrap/app.php @@ -1,6 +1,7 @@ redirectGuestsTo(fn(Request $request)=>route('auth.login.index')); $middleware->alias([ 'admin.auth' => AdminAuth::class, + 'admin.guest' => AdminGuest::class, + ]); + }) ->withExceptions(function (Exceptions $exceptions) { //