Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Linting (#2413)

Leendert de Borste5201711c285
diff --git a/apps/web/src/utils/WebAuthnService.ts b/apps/web/src/utils/WebAuthnService.ts
index 8c3b06aca..e316b0387 100644
--- a/apps/web/src/utils/WebAuthnService.ts
+++ b/apps/web/src/utils/WebAuthnService.ts
@@ -174,8 +174,10 @@ export const WebAuthnService = {
keys = null;
}
- // Check for legacy storage (pre-0.31.0).
- // TODO: this can be removed in a future release once 0.31.0 has been released.
+ /*
+ * Check for legacy storage (pre-0.31.0).
+ * TODO: this can be removed in a future release once 0.31.0 has been released.
+ */
const isLegacyStore = typeof keys?.UnlockKey !== 'string';
const unlockKey = keys && !isLegacyStore ? keys.UnlockKey : payload;
try {