From 901cd1679386eadc66c9f9a9f7d3dc60e8d55820 Mon Sep 17 00:00:00 2001 From: Rai Butera Date: Sun, 15 Mar 2026 13:07:06 +0000 Subject: [PATCH] fix(gateway): keep pairing for non-control open auth --- src/gateway/server/ws-connection/message-handler.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/gateway/server/ws-connection/message-handler.ts b/src/gateway/server/ws-connection/message-handler.ts index 6d726f77583..1d20c5adce6 100644 --- a/src/gateway/server/ws-connection/message-handler.ts +++ b/src/gateway/server/ws-connection/message-handler.ts @@ -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,