Skip to content

Commit 091489d

Browse files
committed
Merge pull request laravel#3564 from martinbean/patch-1
Change redirect when authenticated
2 parents 8476df5 + 223191a commit 091489d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Middleware/RedirectIfAuthenticated.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function __construct(Guard $auth)
3535
public function handle($request, Closure $next)
3636
{
3737
if ($this->auth->check()) {
38-
return redirect('/home');
38+
return redirect('/');
3939
}
4040

4141
return $next($request);

0 commit comments

Comments
 (0)