1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 23:33:31 +00:00

Fix storage keys in v1 migration (#696)

This commit is contained in:
Thomas Rittson
2022-03-02 07:44:14 +10:00
committed by GitHub
parent d81eb7ddae
commit c1a37eab13

View File

@@ -373,7 +373,7 @@ export class StateMigrationService<
legacyEtmKey: null, legacyEtmKey: null,
organizationKeys: { organizationKeys: {
decrypted: null, decrypted: null,
encrypted: await this.get<any>(v1Keys.encOrgKeys + userId), encrypted: await this.get<any>(v1Keys.encOrgKeys),
}, },
privateKey: { privateKey: {
decrypted: null, decrypted: null,
@@ -381,7 +381,7 @@ export class StateMigrationService<
}, },
providerKeys: { providerKeys: {
decrypted: null, decrypted: null,
encrypted: await this.get<any>(v1Keys.encProviderKeys + userId), encrypted: await this.get<any>(v1Keys.encProviderKeys),
}, },
publicKey: null, publicKey: null,
}, },