1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-22 04:14:04 +00:00

[PM-18721] add message Input prop

This commit is contained in:
rr-bw
2025-05-27 23:19:13 -07:00
parent e45cd314b5
commit 9eb69b1ddf
2 changed files with 2 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
<form [formGroup]="formGroup" [bitSubmit]="submit">
<auth-password-callout
*ngIf="masterPasswordPolicyOptions"
[message]="message || 'masterPasswordPolicyInEffect'"
[policy]="masterPasswordPolicyOptions"
></auth-password-callout>

View File

@@ -133,6 +133,7 @@ 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;