mirror of
https://github.com/bitwarden/browser
synced 2025-12-10 13:23:34 +00:00
fix migration test (#9163)
This commit is contained in:
@@ -387,9 +387,10 @@ export class PinService implements PinServiceAbstraction {
|
||||
);
|
||||
|
||||
const encUserKey = await this.stateService.getEncryptedCryptoSymmetricKey({ userId: userId });
|
||||
|
||||
const userKey = await this.masterPasswordService.decryptUserKeyWithMasterKey(
|
||||
masterKey,
|
||||
new EncString(encUserKey),
|
||||
encUserKey ? new EncString(encUserKey) : undefined,
|
||||
);
|
||||
|
||||
const pinKeyEncryptedUserKey = await this.createPinKeyEncryptedUserKey(pin, userKey, userId);
|
||||
|
||||
Reference in New Issue
Block a user