policies/password: add minimum digits
closes #1952 Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
@ -2836,6 +2836,10 @@ msgstr "Messages"
|
||||
msgid "Metadata"
|
||||
msgstr "Metadata"
|
||||
|
||||
#: src/pages/policies/password/PasswordPolicyForm.ts
|
||||
msgid "Minimum amount of Digits"
|
||||
msgstr "Minimum amount of Digits"
|
||||
|
||||
#: src/pages/policies/password/PasswordPolicyForm.ts
|
||||
msgid "Minimum amount of Lowercase Characters"
|
||||
msgstr "Minimum amount of Lowercase Characters"
|
||||
|
||||
@ -2815,6 +2815,10 @@ msgstr "Messages"
|
||||
msgid "Metadata"
|
||||
msgstr "Métadonnées"
|
||||
|
||||
#: src/pages/policies/password/PasswordPolicyForm.ts
|
||||
msgid "Minimum amount of Digits"
|
||||
msgstr ""
|
||||
|
||||
#: src/pages/policies/password/PasswordPolicyForm.ts
|
||||
msgid "Minimum amount of Lowercase Characters"
|
||||
msgstr "Nombre minimum de caractères minuscules"
|
||||
|
||||
@ -2826,6 +2826,10 @@ msgstr ""
|
||||
msgid "Metadata"
|
||||
msgstr ""
|
||||
|
||||
#: src/pages/policies/password/PasswordPolicyForm.ts
|
||||
msgid "Minimum amount of Digits"
|
||||
msgstr ""
|
||||
|
||||
#: src/pages/policies/password/PasswordPolicyForm.ts
|
||||
msgid "Minimum amount of Lowercase Characters"
|
||||
msgstr ""
|
||||
|
||||
@ -122,6 +122,18 @@ export class PasswordPolicyForm extends ModelForm<PasswordPolicy, string> {
|
||||
required
|
||||
/>
|
||||
</ak-form-element-horizontal>
|
||||
<ak-form-element-horizontal
|
||||
label=${t`Minimum amount of Digits`}
|
||||
?required=${true}
|
||||
name="amountDigits"
|
||||
>
|
||||
<input
|
||||
type="number"
|
||||
value="${first(this.instance?.amountDigits, 2)}"
|
||||
class="pf-c-form-control"
|
||||
required
|
||||
/>
|
||||
</ak-form-element-horizontal>
|
||||
<ak-form-element-horizontal
|
||||
label=${t`Minimum amount of Symbols Characters`}
|
||||
?required=${true}
|
||||
|
||||
Reference in New Issue
Block a user