1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 16:23:44 +00:00

remove additional keys in state service clean

This commit is contained in:
Jacob Fink
2023-06-07 13:27:28 -04:00
parent c2893bd0a8
commit 62c43794e9

View File

@@ -3023,6 +3023,8 @@ export class StateService<
protected async removeAccountFromSecureStorage(userId: string = null): Promise<void> {
userId = userId ?? (await this.state())?.activeUserId;
await this.setUserSymKeyAuto(null, { userId: userId });
await this.setUserSymKeyBiometric(null, { userId: userId });
await this.setCryptoMasterKeyAuto(null, { userId: userId });
await this.setCryptoMasterKeyBiometric(null, { userId: userId });
await this.setCryptoMasterKeyB64(null, { userId: userId });