1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-27 04:03:00 +02:00

Pass in userId when setting masterKeyEncryptedUserKey on sync

This commit is contained in:
Todd Martin 2024-08-16 16:30:19 -04:00
parent 3e37daf236
commit 4ffc7c0524
No known key found for this signature in database
GPG Key ID: 663E7AF5C839BC8F

View File

@ -175,7 +175,7 @@ export class DefaultSyncService extends CoreSyncService {
throw new Error("Stamp has changed");
}
await this.cryptoService.setMasterKeyEncryptedUserKey(response.key);
await this.cryptoService.setMasterKeyEncryptedUserKey(response.key, response.id);
await this.cryptoService.setPrivateKey(response.privateKey, response.id);
await this.cryptoService.setProviderKeys(response.providers, response.id);
await this.cryptoService.setOrgKeys(