Update RedirectIfAuthenticated.php

This commit is contained in:
Taylor Otwell 2019-01-16 09:05:51 -06:00 committed by GitHub
parent bb79dda1ff
commit 247f7f9619
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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');
} }
} }