mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 14:23:32 +00:00
clear ever had user key for logged out user instead of active (#7911)
This commit is contained in:
@@ -625,7 +625,7 @@ export class CryptoService implements CryptoServiceAbstraction {
|
|||||||
await this.clearProviderKeys(false, userId);
|
await this.clearProviderKeys(false, userId);
|
||||||
await this.clearKeyPair(false, userId);
|
await this.clearKeyPair(false, userId);
|
||||||
await this.clearPinKeys(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> {
|
async rsaEncrypt(data: Uint8Array, publicKey?: Uint8Array): Promise<EncString> {
|
||||||
|
|||||||
Reference in New Issue
Block a user