1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-07 04:03:29 +00:00

[PM-18721] update messaging

This commit is contained in:
rr-bw
2025-05-30 12:33:07 -07:00
parent 23dc740093
commit 5595ce7ee6
4 changed files with 11 additions and 4 deletions

View File

@@ -15,9 +15,10 @@
<span class="tw-sr-only">{{ "loading" | i18n }}</span>
</div>
} @else {
<bit-callout type="warning">{{
<!-- TODO: PM-22237 -->
<!-- <bit-callout type="warning">{{
"emergencyAccessLoggedOutWarning" | i18n: dialogData.grantorName
}}</bit-callout>
}}</bit-callout> -->
<auth-input-password
[flow]="inputPasswordFlow"

View File

@@ -5785,6 +5785,9 @@
"resetPasswordMasterPasswordPolicyInEffect": {
"message": "One or more organization policies require the master password to meet the following requirements:"
},
"changePasswordDelegationMasterPasswordPolicyInEffect": {
"message": "One or more organization policies require the master password to meet the following requirements:"
},
"resetPasswordSuccess": {
"message": "Password reset success!"
},

View File

@@ -1,7 +1,11 @@
<form [formGroup]="formGroup" [bitSubmit]="submit">
<auth-password-callout
*ngIf="masterPasswordPolicyOptions"
[message]="message || 'masterPasswordPolicyInEffect'"
[message]="
flow === InputPasswordFlow.ChangePasswordDelegation
? 'changePasswordDelegationMasterPasswordPolicyInEffect'
: 'masterPasswordPolicyInEffect'
"
[policy]="masterPasswordPolicyOptions"
></auth-password-callout>

View File

@@ -131,7 +131,6 @@ export class InputPasswordComponent implements OnInit {
@Input() userId?: UserId;
@Input() loading = false;
@Input() masterPasswordPolicyOptions: MasterPasswordPolicyOptions | null = null;
@Input() message: string = "";
@Input() inlineButtons = false;
@Input() primaryButtonText?: Translation;