Fix user.emailVerified on realm import

This commit is contained in:
Leonardo Zanivan 2015-05-05 10:29:44 -03:00
parent c1708ea7d5
commit d3cf177ebc

View file

@ -746,6 +746,7 @@ public class RepresentationToModel {
UserModel user = session.userStorage().addUser(newRealm, userRep.getId(), userRep.getUsername(), false);
user.setEnabled(userRep.isEnabled());
user.setEmail(userRep.getEmail());
user.setEmailVerified(userRep.isEmailVerified());
user.setFirstName(userRep.getFirstName());
user.setLastName(userRep.getLastName());
user.setFederationLink(userRep.getFederationLink());