mirror of https://github.com/openclaw/openclaw.git
fix(gateway): keep pairing for non-control open auth
This commit is contained in:
parent
4101ea9676
commit
901cd16793
|
|
@ -683,10 +683,7 @@ export function attachGatewayWsMessageHandler(params: {
|
|||
authOk,
|
||||
authMethod,
|
||||
});
|
||||
// auth.mode=none disables all authentication — device pairing is an
|
||||
// auth mechanism and must also be skipped when the operator opted out.
|
||||
const skipPairing =
|
||||
resolvedAuth.mode === "none" ||
|
||||
isInternalBackendClient ||
|
||||
shouldSkipControlUiPairing(
|
||||
controlUiAuthPolicy,
|
||||
|
|
|
|||
Loading…
Reference in New Issue