enable user if active when importing
This commit is contained in:
parent
68464a7efc
commit
f0e452c21a
1 changed files with 1 additions and 0 deletions
|
@ -130,6 +130,7 @@ public class UserAdapter extends Adapter<UserModel, UserResource> {
|
|||
kcUser.setRealmId(realmId);
|
||||
kcUser.setUsername(username);
|
||||
kcUser.setEmail(email, false);
|
||||
kcUser.setEnabled(active);
|
||||
this.em.persist(kcUser);
|
||||
this.id = kcUser.getId();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue