]> _ Git - odl.git/commitdiff
wip #4765
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 11 Oct 2021 14:57:59 +0000 (16:57 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 11 Oct 2021 14:57:59 +0000 (16:57 +0200)
app/Http/Middleware/RedirectIfAuthenticated.php

index 362b48b0dc3fc76573b8037045feda3050bf2485..6ad254087e5304423ae128b03201a3254f1713dc 100644 (file)
@@ -21,6 +21,8 @@ class RedirectIfAuthenticated
     {
         $guards = empty($guards) ? [null] : $guards;
 
+        dd(Auth::guard('backpack'));
+
         foreach ($guards as $guard) {
             if (Auth::guard($guard)->check()) {
                 return redirect(RouteServiceProvider::HOME);