mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-25 12:15:18 +01:00
clear ever had user key for logged out user instead of active (#7911)
This commit is contained in:
parent
6b12968721
commit
f786c8ce93
@ -625,7 +625,7 @@ export class CryptoService implements CryptoServiceAbstraction {
|
||||
await this.clearProviderKeys(false, userId);
|
||||
await this.clearKeyPair(false, userId);
|
||||
await this.clearPinKeys(userId);
|
||||
await this.activeUserEverHadUserKey.update(() => null);
|
||||
await this.stateProvider.setUserState(USER_EVER_HAD_USER_KEY, null, userId);
|
||||
}
|
||||
|
||||
async rsaEncrypt(data: Uint8Array, publicKey?: Uint8Array): Promise<EncString> {
|
||||
|
Loading…
Reference in New Issue
Block a user