When `require_pairing = false` in config, the dashboard showed the pairing dialog even though no pairing code exists, creating a deadlock. Add `requiresPairing` field to AuthState (defaults to `true` as a safe fallback) and update it from the `/health` endpoint response. Gate the pairing dialog in App.tsx on both `!isAuthenticated` and `requiresPairing` so the dashboard loads directly when pairing is disabled. Closes #3267 Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| useApi.ts | ||
| useAuth.ts | ||
| useSSE.ts | ||
| useWebSocket.ts | ||