Update RedirectIfAuthenticated.php
This commit is contained in:
parent
bb79dda1ff
commit
247f7f9619
|
@ -19,7 +19,7 @@ public function handle($request, Closure $next, ...$guards)
|
||||||
{
|
{
|
||||||
foreach ($guards as $guard) {
|
foreach ($guards as $guard) {
|
||||||
if (Auth::guard($guard)->check()) {
|
if (Auth::guard($guard)->check()) {
|
||||||
return redirect('/');
|
return redirect('/home');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue