From b65a2da18aa58e7901a43d28f7c9f3cc760639d1 Mon Sep 17 00:00:00 2001 From: Oscar Hinton Date: Tue, 15 Feb 2022 15:51:22 +0100 Subject: [PATCH] Clears the key after locking (#684) --- common/src/services/vaultTimeout.service.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/common/src/services/vaultTimeout.service.ts b/common/src/services/vaultTimeout.service.ts index 682d1d7a56a..65654bcae27 100644 --- a/common/src/services/vaultTimeout.service.ts +++ b/common/src/services/vaultTimeout.service.ts @@ -97,6 +97,7 @@ export class VaultTimeoutService implements VaultTimeoutServiceAbstraction { await this.stateService.setEverBeenUnlocked(true, { userId: userId }); await this.stateService.setBiometricLocked(true, { userId: userId }); + await this.stateService.setCryptoMasterKeyAuto(null, { userId: userId }); await this.cryptoService.clearKey(false, userId); await this.cryptoService.clearOrgKeys(true, userId);