From a1a28efe4917fbb099dc9d5129b6bebf41ab88cd Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Sun, 10 Mar 2013 19:06:55 -0300 Subject: [PATCH] Minor fix, use db database result. --- .../wisemapping/security/ldap/LdapUserDetailsContextMapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wise-webapp/src/main/java/com/wisemapping/security/ldap/LdapUserDetailsContextMapper.java b/wise-webapp/src/main/java/com/wisemapping/security/ldap/LdapUserDetailsContextMapper.java index 3ca53c5c..7f6a61ce 100644 --- a/wise-webapp/src/main/java/com/wisemapping/security/ldap/LdapUserDetailsContextMapper.java +++ b/wise-webapp/src/main/java/com/wisemapping/security/ldap/LdapUserDetailsContextMapper.java @@ -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); }