Minor fix, use db database result.

This commit is contained in:
Paulo Gustavo Veiga 2013-03-10 19:06:55 -03:00
parent 0e5592a0d3
commit a1a28efe49

View File

@ -64,7 +64,7 @@ public class LdapUserDetailsContextMapper implements UserDetailsContextMapper {
user.setActivationDate(now);
try {
userService.createUser(user, false, false);
user = userService.createUser(user, false, false);
} catch (WiseMappingException e) {
throw new IllegalStateException(e);
}