diff --git a/js/apps/admin-ui/src/user/UserForm.tsx b/js/apps/admin-ui/src/user/UserForm.tsx index 1e1fc540bc..3a60abf4e1 100644 --- a/js/apps/admin-ui/src/user/UserForm.tsx +++ b/js/apps/admin-ui/src/user/UserForm.tsx @@ -272,6 +272,9 @@ export const UserForm = ({ onChange={(_event, value) => { unLockUser(); setLocked(value); + save({ + enabled: !value, + }); }} isChecked={locked} isDisabled={!locked}