Fix user.emailVerified on realm import
This commit is contained in:
parent
c1708ea7d5
commit
d3cf177ebc
1 changed files with 1 additions and 0 deletions
|
@ -746,6 +746,7 @@ public class RepresentationToModel {
|
||||||
UserModel user = session.userStorage().addUser(newRealm, userRep.getId(), userRep.getUsername(), false);
|
UserModel user = session.userStorage().addUser(newRealm, userRep.getId(), userRep.getUsername(), false);
|
||||||
user.setEnabled(userRep.isEnabled());
|
user.setEnabled(userRep.isEnabled());
|
||||||
user.setEmail(userRep.getEmail());
|
user.setEmail(userRep.getEmail());
|
||||||
|
user.setEmailVerified(userRep.isEmailVerified());
|
||||||
user.setFirstName(userRep.getFirstName());
|
user.setFirstName(userRep.getFirstName());
|
||||||
user.setLastName(userRep.getLastName());
|
user.setLastName(userRep.getLastName());
|
||||||
user.setFederationLink(userRep.getFederationLink());
|
user.setFederationLink(userRep.getFederationLink());
|
||||||
|
|
Loading…
Reference in a new issue