diff --git a/js/apps/admin-ui/src/user/UserForm.tsx b/js/apps/admin-ui/src/user/UserForm.tsx index ec53ac1437..5fab8b87dd 100644 --- a/js/apps/admin-ui/src/user/UserForm.tsx +++ b/js/apps/admin-ui/src/user/UserForm.tsx @@ -187,11 +187,40 @@ export const UserForm = ({ )} {userProfileMetadata ? ( - + <> + + } + > + ( + field.onChange(value)} + isChecked={field.value} + label={t("yes")} + labelOff={t("no")} + /> + )} + /> + + + ) : ( <> {!realm.registrationEmailAsUsername && (