mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
webui: Allow grace login limit
There was no support for setting the grace login limit on the WebUI. The only way to so was only via CLI: `ipa pwpolicy-mod --gracelimit=2 global_policy` Thus, the grace login limit must be updated from the policy section and this will reflect also on the user settings (under the 'Password Policy' section) Fixes: https://pagure.io/freeipa/issue/9211 Signed-off-by: Carla Martinez <carlmart@redhat.com> Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
This commit is contained in:
parent
6033d495d1
commit
42b2607a6f
@ -72,6 +72,9 @@ return {
|
|||||||
{
|
{
|
||||||
name: 'cospriority',
|
name: 'cospriority',
|
||||||
required: true
|
required: true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'passwordgracelimit'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}]
|
}]
|
||||||
|
@ -318,6 +318,11 @@ return {
|
|||||||
label: '@mo-param:pwpolicy:krbpwdlockoutduration:label',
|
label: '@mo-param:pwpolicy:krbpwdlockoutduration:label',
|
||||||
read_only: true,
|
read_only: true,
|
||||||
measurement_unit: 'seconds'
|
measurement_unit: 'seconds'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'passwordgracelimit',
|
||||||
|
label: '@mo-param:pwpolicy:passwordgracelimit:label',
|
||||||
|
read_only: true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user