This commit is contained in:
hcl 2026-01-30 01:00:39 +00:00 committed by GitHub
commit 2f524a48c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -175,7 +175,7 @@ export async function promptGatewayConfig(
}),
runtime,
);
gatewayToken = String(tokenInput).trim() || randomToken();
gatewayToken = (tokenInput ?? "").trim() || randomToken();
}
if (authMode === "password") {

View File

@ -180,7 +180,7 @@ export async function configureGatewayForOnboarding(
placeholder: "Needed for multi-machine or non-loopback access",
initialValue: quickstartGateway.token ?? "",
});
gatewayToken = String(tokenInput).trim() || randomToken();
gatewayToken = (tokenInput ?? "").trim() || randomToken();
}
}