Commit 24766d47 authored by Taylor Otwell's avatar Taylor Otwell

redirect to home if authed

parent 592b7a2b
...@@ -18,7 +18,7 @@ class RedirectIfAuthenticated ...@@ -18,7 +18,7 @@ class RedirectIfAuthenticated
public function handle($request, Closure $next, $guard = null) public function handle($request, Closure $next, $guard = null)
{ {
if (Auth::guard($guard)->check()) { if (Auth::guard($guard)->check()) {
return redirect('/'); return redirect('/home');
} }
return $next($request); return $next($request);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment