Enable user when removing temporary lock (#29618)

Closes #29336

Signed-off-by: Himanshi Gupta <higupta@redhat.com>
This commit is contained in:
himanshi1099 2024-05-21 14:51:24 +05:30 committed by GitHub
parent 5d0cb7959e
commit 95d883c76f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -272,6 +272,9 @@ export const UserForm = ({
onChange={(_event, value) => {
unLockUser();
setLocked(value);
save({
enabled: !value,
});
}}
isChecked={locked}
isDisabled={!locked}