Minor fix, use db database result.
parent
0e5592a0d3
commit
a1a28efe49
|
@ -64,7 +64,7 @@ public class LdapUserDetailsContextMapper implements UserDetailsContextMapper {
|
||||||
user.setActivationDate(now);
|
user.setActivationDate(now);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
userService.createUser(user, false, false);
|
user = userService.createUser(user, false, false);
|
||||||
} catch (WiseMappingException e) {
|
} catch (WiseMappingException e) {
|
||||||
throw new IllegalStateException(e);
|
throw new IllegalStateException(e);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue