IDEMPIERE-3024 solve force change on login for System

This commit is contained in:
Carlos Ruiz 2016-02-17 15:32:45 +01:00
parent 9e585c0180
commit f2e8979936
1 changed files with 1 additions and 1 deletions

View File

@ -988,7 +988,7 @@ public class MUser extends X_AD_User
rs = pstmt.executeQuery (); rs = pstmt.executeQuery ();
if (rs.next()) if (rs.next())
{ {
retValue = new MUser (ctx, rs.getInt(1), null); retValue = MUser.get(ctx, rs.getInt(1));
if (rs.next()) if (rs.next())
s_log.warning ("More then one user with Name/Password = " + name); s_log.warning ("More then one user with Name/Password = " + name);
} }