Browse Source

redirect to home if authed

Taylor Otwell 7 years ago
parent
commit
24766d479d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Middleware/RedirectIfAuthenticated.php

+ 1 - 1
app/Http/Middleware/RedirectIfAuthenticated.php

@@ -18,7 +18,7 @@ class RedirectIfAuthenticated
     public function handle($request, Closure $next, $guard = null)
     {
         if (Auth::guard($guard)->check()) {
-            return redirect('/');
+            return redirect('/home');
         }
 
         return $next($request);