diff --git a/frontend/src/components/admin/users/showCreateUserModal.tsx b/frontend/src/components/admin/users/showCreateUserModal.tsx
index e2bb6718..727b0a35 100644
--- a/frontend/src/components/admin/users/showCreateUserModal.tsx
+++ b/frontend/src/components/admin/users/showCreateUserModal.tsx
@@ -79,13 +79,12 @@ const Body = ({
})}
/>
)}
- {form.values.setPasswordManually ||
- (!smtpEnabled && (
-
- ))}
+ {(form.values.setPasswordManually || !smtpEnabled) && (
+
+ )}