From 40e9cf974ce50e8eb0f3d044d39a74c26a20e8fe Mon Sep 17 00:00:00 2001 From: Juliana Corredor Date: Mon, 11 Mar 2013 19:50:35 -0500 Subject: [PATCH] IDEMPIERE-679 inactivate client allow to log in --- org.adempiere.base/src/org/compiere/util/Login.java | 1 + 1 file changed, 1 insertion(+) diff --git a/org.adempiere.base/src/org/compiere/util/Login.java b/org.adempiere.base/src/org/compiere/util/Login.java index 3be1f18c96..744cd2e1af 100644 --- a/org.adempiere.base/src/org/compiere/util/Login.java +++ b/org.adempiere.base/src/org/compiere/util/Login.java @@ -1361,6 +1361,7 @@ public class Login .append(" INNER JOIN AD_Client cli on (ur.AD_Client_ID=cli.AD_Client_ID)") .append(" WHERE ur.IsActive='Y'") .append(" AND u.IsActive='Y'") + .append(" AND cli.IsActive='Y'") .append(" AND ur.AD_User_ID=?"); PreparedStatement pstmt=null; ResultSet rs=null;