fix(set-password-copy): [Auth/PM-25119] Update copy for flows where the user is setting and initial password (#16169)

Updates the copy on flows where the user is setting an initial password. Instead of saying "New master password" and "Confirm new master password", it should say "Master password" and "Confirm master password" for these flows.
This commit is contained in:
rr-bw 2025-09-04 08:52:30 -07:00 committed by GitHub
parent ca554897be
commit a48c102837
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,7 +33,12 @@
<div class="tw-mb-6">
<bit-form-field [disableMargin]="true">
<bit-label>{{ "newMasterPass" | i18n }}</bit-label>
<bit-label>{{
flow === InputPasswordFlow.SetInitialPasswordAccountRegistration ||
flow === InputPasswordFlow.SetInitialPasswordAuthedUser
? ("masterPassword" | i18n)
: ("newMasterPass" | i18n)
}}</bit-label>
<input
id="input-password-form_new-password"
bitInput
@ -79,7 +84,12 @@
</div>
<bit-form-field>
<bit-label>{{ "confirmNewMasterPass" | i18n }}</bit-label>
<bit-label>{{
flow === InputPasswordFlow.SetInitialPasswordAccountRegistration ||
flow === InputPasswordFlow.SetInitialPasswordAuthedUser
? ("confirmMasterPassword" | i18n)
: ("confirmNewMasterPass" | i18n)
}}</bit-label>
<input
id="input-password-form_new-password-confirm"
bitInput