diff --git a/js/apps/admin-ui/src/user/UserForm.tsx b/js/apps/admin-ui/src/user/UserForm.tsx index 294d04dea8..cc40f4585c 100644 --- a/js/apps/admin-ui/src/user/UserForm.tsx +++ b/js/apps/admin-ui/src/user/UserForm.tsx @@ -387,7 +387,7 @@ export const UserForm = ({ isDisabled={ !user?.id && !watchUsernameInput && - !realm.registrationEmailAsUsername + realm.registrationEmailAsUsername === false } variant="primary" type="submit"