From: Vincent Vanwaelscappel Date: Mon, 11 Oct 2021 14:59:19 +0000 (+0200) Subject: wip #4765 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=ae4a3b6ee5dec815d5e5dabd71177e0b27f8d994;p=odl.git wip #4765 --- diff --git a/app/Http/Middleware/RedirectIfAuthenticated.php b/app/Http/Middleware/RedirectIfAuthenticated.php index 6ad2540..362b48b 100644 --- a/app/Http/Middleware/RedirectIfAuthenticated.php +++ b/app/Http/Middleware/RedirectIfAuthenticated.php @@ -21,8 +21,6 @@ class RedirectIfAuthenticated { $guards = empty($guards) ? [null] : $guards; - dd(Auth::guard('backpack')); - foreach ($guards as $guard) { if (Auth::guard($guard)->check()) { return redirect(RouteServiceProvider::HOME);