IDEMPIERE-679 inactivate client allow to log in

This commit is contained in:
Juliana Corredor 2013-03-11 19:50:35 -05:00
parent 24f5d10141
commit 40e9cf974c
1 changed files with 1 additions and 0 deletions

View File

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