Merge pull request #3564 from martinbean/patch-1
Change redirect when authenticated
This commit is contained in:
commit
091489d17b
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue