1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-09 21:20:27 +00:00

resolve rebase discrepancies

This commit is contained in:
rr-bw
2025-04-09 16:40:01 -07:00
parent 72f8debc50
commit a1d53e9840
2 changed files with 17 additions and 21 deletions

View File

@@ -228,9 +228,8 @@ export class InputPasswordComponent implements OnInit {
// 1. Verify current password is correct (if necessary)
if (
this.inputPasswordFlow === InputPasswordFlow.ChangeExistingPassword ||
this.inputPasswordFlow ===
InputPasswordFlow.ChangeExistingPasswordAndOptionallyRotateAccountEncryptionKey
this.inputPasswordFlow === InputPasswordFlow.ChangePassword ||
this.inputPasswordFlow === InputPasswordFlow.ChangePasswordWithOptionalUserKeyRotation
) {
const currentPasswordIsCorrect = await this.verifyCurrentPassword(
currentPassword,
@@ -308,11 +307,8 @@ export class InputPasswordComponent implements OnInit {
passwordInputResult.currentLocalMasterKeyHash = currentLocalMasterKeyHash;
}
if (
this.inputPasswordFlow ===
InputPasswordFlow.ChangeExistingPasswordAndOptionallyRotateAccountEncryptionKey
) {
passwordInputResult.rotateAccountEncryptionKey = this.rotateAccountEncryptionKey;
if (this.inputPasswordFlow === InputPasswordFlow.ChangePasswordWithOptionalUserKeyRotation) {
passwordInputResult.rotateUserKey = this.formGroup.get("rotateUserKey")?.value;
}
// 4. Emit cryptographic keys and other password related properties