diff --git a/src/main/java/sh/libre/scim/core/UserAdapter.java b/src/main/java/sh/libre/scim/core/UserAdapter.java index 11c2472e79..4d7b21d634 100644 --- a/src/main/java/sh/libre/scim/core/UserAdapter.java +++ b/src/main/java/sh/libre/scim/core/UserAdapter.java @@ -130,6 +130,7 @@ public class UserAdapter extends Adapter { kcUser.setRealmId(realmId); kcUser.setUsername(username); kcUser.setEmail(email, false); + kcUser.setEnabled(active); this.em.persist(kcUser); this.id = kcUser.getId(); }