IDEMPIERE-679 inactivate client allow to log in / fix also for Change Role
This commit is contained in:
parent
d337a30227
commit
7626490d6c
|
@ -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_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(" 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 cli.IsActive='Y'")
|
||||||
.append(" AND u.IsActive='Y'")
|
.append(" AND u.IsActive='Y'")
|
||||||
.append(" AND u.AD_User_ID=?");
|
.append(" AND u.AD_User_ID=?");
|
||||||
PreparedStatement pstmt = null;
|
PreparedStatement pstmt = null;
|
||||||
|
|
Loading…
Reference in New Issue