mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 00:03:56 +00:00
Clears the key after locking (#684)
This commit is contained in:
@@ -97,6 +97,7 @@ export class VaultTimeoutService implements VaultTimeoutServiceAbstraction {
|
|||||||
|
|
||||||
await this.stateService.setEverBeenUnlocked(true, { userId: userId });
|
await this.stateService.setEverBeenUnlocked(true, { userId: userId });
|
||||||
await this.stateService.setBiometricLocked(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.clearKey(false, userId);
|
||||||
await this.cryptoService.clearOrgKeys(true, userId);
|
await this.cryptoService.clearOrgKeys(true, userId);
|
||||||
|
|||||||
Reference in New Issue
Block a user