Merge a69e8204fb into 4583f88626
This commit is contained in:
commit
2f524a48c1
@ -175,7 +175,7 @@ export async function promptGatewayConfig(
|
|||||||
}),
|
}),
|
||||||
runtime,
|
runtime,
|
||||||
);
|
);
|
||||||
gatewayToken = String(tokenInput).trim() || randomToken();
|
gatewayToken = (tokenInput ?? "").trim() || randomToken();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (authMode === "password") {
|
if (authMode === "password") {
|
||||||
|
|||||||
@ -180,7 +180,7 @@ export async function configureGatewayForOnboarding(
|
|||||||
placeholder: "Needed for multi-machine or non-loopback access",
|
placeholder: "Needed for multi-machine or non-loopback access",
|
||||||
initialValue: quickstartGateway.token ?? "",
|
initialValue: quickstartGateway.token ?? "",
|
||||||
});
|
});
|
||||||
gatewayToken = String(tokenInput).trim() || randomToken();
|
gatewayToken = (tokenInput ?? "").trim() || randomToken();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user