import { collectDurableServiceEnvVars } from "../config/state-dir-dotenv.js"; import type { OpenClawConfig } from "../config/types.openclaw.js"; import { hasConfiguredSecretInput } from "../config/types.secrets.js"; import { normalizeOptionalString } from "../shared/string-coerce.js";
type GatewayInstallAuthMode = NonNullable<NonNullable<OpenClawConfig["gateway"]>["auth"]>["mode"];
if (hasConfiguredGatewayPasswordForInstall(cfg)) { returnfalse;
}
// Service install should only infer password mode from durable sources that // survive outside the invoking shell. if (hasDurableGatewayPasswordEnvForInstall(cfg, env)) { returnfalse;
}
returntrue;
}
Messung V0.5 in Prozent
[zur Elbe Produktseite wechseln0.13QuellennavigatorsAnalyse erneut starten2026-06-09]