1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

update sync service to use new crypto service methods

This commit is contained in:
Jacob Fink
2023-05-30 12:52:42 -04:00
parent 51d744132b
commit 076ab184fd

View File

@@ -303,8 +303,8 @@ export class SyncService implements SyncServiceAbstraction {
throw new Error("Stamp has changed");
}
await this.cryptoService.setEncKey(response.key);
await this.cryptoService.setEncPrivateKey(response.privateKey);
await this.cryptoService.setUserSymKeyMasterKey(response.key);
await this.cryptoService.setPrivateKey(response.privateKey);
await this.cryptoService.setProviderKeys(response.providers);
await this.cryptoService.setOrgKeys(response.organizations, response.providerOrganizations);
await this.stateService.setAvatarColor(response.avatarColor);