mirror of
https://github.com/bitwarden/browser
synced 2026-02-12 22:44:11 +00:00
PM-14445: Fix rotateUserKeyAndEncryptedData regression
This commit is contained in:
@@ -9,8 +9,8 @@ import { EmergencyAccessWithIdRequest } from "../../../auth/emergency-access/req
|
||||
|
||||
export class UpdateKeyRequest {
|
||||
constructor(
|
||||
readonly masterPasswordHash: EncryptedString,
|
||||
readonly key: string,
|
||||
readonly masterPasswordHash: string,
|
||||
readonly key: EncryptedString,
|
||||
readonly privateKey: EncryptedString,
|
||||
) {}
|
||||
|
||||
|
||||
@@ -96,8 +96,8 @@ export class UserKeyRotationService {
|
||||
|
||||
// Create new request
|
||||
const request = new UpdateKeyRequest(
|
||||
newEncUserKey.encryptedString!,
|
||||
masterPasswordHash,
|
||||
newEncUserKey.encryptedString!,
|
||||
privateKey,
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user