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:
@@ -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"
|
||||
|
||||
@@ -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!"
|
||||
},
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user