check()) { return redirect($guard . "/" . RouteServiceProvider::HOME); } return $next($request); } }