mirror of
https://github.com/bitwarden/browser.git
synced 2025-02-25 02:51:59 +01:00
update sync service to use new crypto service methods
This commit is contained in:
parent
51d744132b
commit
076ab184fd
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user