fix(gateway): keep pairing for non-control open auth

This commit is contained in:
Rai Butera 2026-03-15 13:07:06 +00:00
parent 4101ea9676
commit 901cd16793
1 changed files with 0 additions and 3 deletions

View File

@ -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,