1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-09 13:10:17 +00:00

update @Input kdfConfig initial value

This commit is contained in:
rr-bw
2025-04-03 13:19:27 -07:00
parent f52d5a171b
commit 2e056a0f41

View File

@@ -108,7 +108,7 @@ export class InputPasswordComponent implements OnInit {
protected secondaryButtonTextStr: string = "";
protected InputPasswordFlow = InputPasswordFlow;
private kdfConfig: KdfConfig = DEFAULT_KDF_CONFIG;
private kdfConfig?: KdfConfig;
private minHintLength = 0;
protected maxHintLength = 50;
protected minPasswordLength = Utils.minimumPasswordLength;
@@ -299,7 +299,7 @@ export class InputPasswordComponent implements OnInit {
HashPurpose.LocalAuthorization,
);
passwordInputResult.currentPassword = this.formGroup.get("currentPassword")?.value;
passwordInputResult.currentPassword = currentPassword;
passwordInputResult.currentMasterKey = currentMasterKey;
passwordInputResult.currentServerMasterKeyHash = currentServerMasterKeyHash;
passwordInputResult.currentLocalMasterKeyHash = currentLocalMasterKeyHash;