From fe05a3448d6bbf12b5862962f4d44d3d42429b22 Mon Sep 17 00:00:00 2001 From: Isaiah Inuwa Date: Tue, 11 Nov 2025 13:18:47 -0600 Subject: [PATCH] Don't manually clear cipher cache This shouuld be done already by the calls to updateWithServer --- .../src/platform/services/fido2/fido2-authenticator.service.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/libs/common/src/platform/services/fido2/fido2-authenticator.service.ts b/libs/common/src/platform/services/fido2/fido2-authenticator.service.ts index 57622e445a3..2e8abc77bbf 100644 --- a/libs/common/src/platform/services/fido2/fido2-authenticator.service.ts +++ b/libs/common/src/platform/services/fido2/fido2-authenticator.service.ts @@ -190,7 +190,6 @@ export class Fido2AuthenticatorService } const reencrypted = await this.cipherService.encrypt(cipher, activeUserId); await this.cipherService.updateWithServer(reencrypted); - // await this.cipherService.clearCache(activeUserId); credentialId = fido2Credential.credentialId; } catch (error) { this.logService?.error( @@ -331,7 +330,6 @@ export class Fido2AuthenticatorService ); const encrypted = await this.cipherService.encrypt(selectedCipher, activeUserId); await this.cipherService.updateWithServer(encrypted); - await this.cipherService.clearCache(activeUserId); } const authenticatorData = await generateAuthData({