Enable user when removing temporary lock (#29618)
Closes #29336 Signed-off-by: Himanshi Gupta <higupta@redhat.com>
This commit is contained in:
parent
5d0cb7959e
commit
95d883c76f
1 changed files with 3 additions and 0 deletions
|
@ -272,6 +272,9 @@ export const UserForm = ({
|
|||
onChange={(_event, value) => {
|
||||
unLockUser();
|
||||
setLocked(value);
|
||||
save({
|
||||
enabled: !value,
|
||||
});
|
||||
}}
|
||||
isChecked={locked}
|
||||
isDisabled={!locked}
|
||||
|
|
Loading…
Reference in a new issue