mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 17:23:37 +00:00
update sync service to use new crypto service methods
This commit is contained in:
@@ -303,8 +303,8 @@ export class SyncService implements SyncServiceAbstraction {
|
|||||||
throw new Error("Stamp has changed");
|
throw new Error("Stamp has changed");
|
||||||
}
|
}
|
||||||
|
|
||||||
await this.cryptoService.setEncKey(response.key);
|
await this.cryptoService.setUserSymKeyMasterKey(response.key);
|
||||||
await this.cryptoService.setEncPrivateKey(response.privateKey);
|
await this.cryptoService.setPrivateKey(response.privateKey);
|
||||||
await this.cryptoService.setProviderKeys(response.providers);
|
await this.cryptoService.setProviderKeys(response.providers);
|
||||||
await this.cryptoService.setOrgKeys(response.organizations, response.providerOrganizations);
|
await this.cryptoService.setOrgKeys(response.organizations, response.providerOrganizations);
|
||||||
await this.stateService.setAvatarColor(response.avatarColor);
|
await this.stateService.setAvatarColor(response.avatarColor);
|
||||||
|
|||||||
Reference in New Issue
Block a user