Commit 091489d1 authored by Taylor Otwell's avatar Taylor Otwell

Merge pull request #3564 from martinbean/patch-1

Change redirect when authenticated
parents 8476df5c 223191a9
......@@ -35,7 +35,7 @@ class RedirectIfAuthenticated
public function handle($request, Closure $next)
{
if ($this->auth->check()) {
return redirect('/home');
return redirect('/');
}
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