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

update inputPasswordFlow in PasswordSettingsComponent

This commit is contained in:
rr-bw
2025-04-03 12:13:14 -07:00
parent 7f00ab5847
commit d17c7e5a6b
3 changed files with 3 additions and 5 deletions

View File

@@ -5,9 +5,7 @@
<bit-callout type="warning">{{ "loggedOutWarning" | i18n }}</bit-callout>
<div class="tw-max-w-md tw-mb-12">
<auth-change-password
[inputPasswordFlow]="InputPasswordFlow.ChangePasswordWithOptionalUserKeyRotation"
></auth-change-password>
<auth-change-password [inputPasswordFlow]="inputPasswordFlow"></auth-change-password>
</div>
<app-webauthn-login-settings></app-webauthn-login-settings>

View File

@@ -16,7 +16,7 @@ import { WebauthnLoginSettingsModule } from "../../webauthn-login-settings";
imports: [CalloutModule, ChangePasswordComponent, I18nPipe, WebauthnLoginSettingsModule],
})
export class PasswordSettingsComponent implements OnInit {
InputPasswordFlow = InputPasswordFlow;
inputPasswordFlow = InputPasswordFlow.ChangePasswordWithOptionalUserKeyRotation;
constructor(
private router: Router,

View File

@@ -58,7 +58,7 @@
</div>
<bit-form-field>
<bit-label>{{ "confirmMasterPassword" | i18n }}</bit-label>
<bit-label>{{ "confirmNewMasterPass" | i18n }}</bit-label>
<input
id="input-password-form_confirm-new-password"
bitInput