Merge branch 'master' into develop
This commit is contained in:
@@ -15,7 +15,7 @@ class Authenticate
|
||||
protected $auth;
|
||||
|
||||
/**
|
||||
* Create a new filter instance.
|
||||
* Create a new middleware instance.
|
||||
*
|
||||
* @param Guard $auth
|
||||
* @return void
|
||||
|
||||
@@ -35,7 +35,7 @@ class RedirectIfAuthenticated
|
||||
public function handle($request, Closure $next)
|
||||
{
|
||||
if ($this->auth->check()) {
|
||||
return redirect('/home');
|
||||
return redirect('/');
|
||||
}
|
||||
|
||||
return $next($request);
|
||||
|
||||
Reference in New Issue
Block a user