Commit 223191a9 authored by Martin Bean's avatar Martin Bean

Change redirect when authenticated

The route /home doesn’t exist in a default Laravel application, whereas / does.
parent 8476df5c
...@@ -35,7 +35,7 @@ class RedirectIfAuthenticated ...@@ -35,7 +35,7 @@ class RedirectIfAuthenticated
public function handle($request, Closure $next) public function handle($request, Closure $next)
{ {
if ($this->auth->check()) { if ($this->auth->check()) {
return redirect('/home'); return redirect('/');
} }
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