From fbd0a59938b0e6ef85d2e4201c315e42fb57b792 Mon Sep 17 00:00:00 2001 From: Wisp X Date: Sun, 23 Jan 2022 15:32:27 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E4=BF=AE=E5=A4=8D=20BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Http/Middleware/AuthenticateWithAdmin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Middleware/AuthenticateWithAdmin.php b/app/Http/Middleware/AuthenticateWithAdmin.php index b3b1ae1c..2423150e 100644 --- a/app/Http/Middleware/AuthenticateWithAdmin.php +++ b/app/Http/Middleware/AuthenticateWithAdmin.php @@ -10,7 +10,7 @@ class AuthenticateWithAdmin extends Authenticate { public function handle($request, Closure $next, ...$guards) { - parent::handle($request, $next, ...$guards); + $this->authenticate($request, $guards); /** @var User $user */ $user = Auth::user();