Merge branch 'master' into develop
This commit is contained in:
@@ -13,7 +13,7 @@ class Kernel extends ConsoleKernel
|
||||
* @var array
|
||||
*/
|
||||
protected $commands = [
|
||||
\App\Console\Commands\Inspire::class,
|
||||
Commands\Inspire::class,
|
||||
];
|
||||
|
||||
/**
|
||||
|
||||
@@ -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