check()) { return $next($request); } } return redirect('/login'); } }