IDEMPIERE-679 inactivate client allow to log in / fix also for Change Role

This commit is contained in:
Carlos Ruiz 2013-03-11 20:04:27 -05:00
parent d337a30227
commit 7626490d6c
1 changed files with 1 additions and 0 deletions

View File

@ -1562,6 +1562,7 @@ public class Login
.append(" INNER JOIN AD_User u on (ur.AD_User_ID=u.AD_User_ID)")
.append(" INNER JOIN AD_Client cli on (ur.AD_Client_ID=cli.AD_Client_ID)")
.append(" WHERE ur.IsActive='Y'")
.append(" AND cli.IsActive='Y'")
.append(" AND u.IsActive='Y'")
.append(" AND u.AD_User_ID=?");
PreparedStatement pstmt = null;