Merge a69e8204fb into 4583f88626
This commit is contained in:
commit
2f524a48c1
@ -175,7 +175,7 @@ export async function promptGatewayConfig(
|
||||
}),
|
||||
runtime,
|
||||
);
|
||||
gatewayToken = String(tokenInput).trim() || randomToken();
|
||||
gatewayToken = (tokenInput ?? "").trim() || randomToken();
|
||||
}
|
||||
|
||||
if (authMode === "password") {
|
||||
|
||||
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user