Merge pull request #3564 from martinbean/patch-1

Change redirect when authenticated
This commit is contained in:
Taylor Otwell 2015-11-21 12:31:47 -06:00
commit 091489d17b
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ public function __construct(Guard $auth)
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);