Browse Source

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.
platform/pm-25424/revert-changes
rr-bw 4 months ago committed by GitHub
parent
commit
a48c102837
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 14
      libs/auth/src/angular/input-password/input-password.component.html

14
libs/auth/src/angular/input-password/input-password.component.html

@ -33,7 +33,12 @@ @@ -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 @@ @@ -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

Loading…
Cancel
Save