Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Update linting (#2177)
Leendert de Borsta5a02602674a
diff --git a/apps/browser-extension/src/entrypoints/webauthn.ts b/apps/browser-extension/src/entrypoints/webauthn.tsindex 375e9f3fe..c08ca4766 100644--- a/apps/browser-extension/src/entrypoints/webauthn.ts+++ b/apps/browser-extension/src/entrypoints/webauthn.ts@@ -376,12 +376,16 @@ export default defineUnlistedScript(() => {// Set up timeout handling for modal requests (not "conditional" mediation)if (options.mediation === 'conditional') {- // If this is a conditional mediation request, do NOT set a timeout.- // The request should remain pending until the user interacts or navigates away.+ /*+ * If this is a conditional mediation request, do NOT set a timeout.+ * The request should remain pending until the user interacts or navigates away.+ */timeout = undefined;} else {- // For normal modal (non-conditional) requests, set a 30-second timeout.- // When user didn't select a passkey within 30 seconds, fall back to native.+ /*+ * For normal modal (non-conditional) requests, set a 30-second timeout.+ * When user didn't select a passkey within 30 seconds, fall back to native.+ */timeout = setTimeout(() => {cleanup();// On timeout, fall back to the native implementation.