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