mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 15:53:27 +00:00
[PM-5995] Clear everhaduserkey on logout (#7759)
* clear everhaduserkey on logout * change to null
This commit is contained in:
@@ -613,6 +613,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);
|
||||
}
|
||||
|
||||
async rsaEncrypt(data: Uint8Array, publicKey?: Uint8Array): Promise<EncString> {
|
||||
|
||||
Reference in New Issue
Block a user