mirror of
https://github.com/bitwarden/browser.git
synced 2025-02-14 01:01:31 +01:00
Clears the key after locking (#684)
This commit is contained in:
parent
5de59c32ab
commit
b65a2da18a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user