IDEMPIERE-716 can't use new role when "User Level" of the role is "system" #resolve
This commit is contained in:
parent
ba8cc7463f
commit
c0025d8c70
|
@ -869,7 +869,7 @@ public class Login
|
||||||
if (!rs.next())
|
if (!rs.next())
|
||||||
{
|
{
|
||||||
// No Warning for System
|
// No Warning for System
|
||||||
if (AD_Role_ID != 0)
|
if (AD_Client_ID != 0)
|
||||||
retValue = "NoValidAcctInfo";
|
retValue = "NoValidAcctInfo";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -965,8 +965,6 @@ public class Login
|
||||||
rs = pstmt.executeQuery();
|
rs = pstmt.executeQuery();
|
||||||
while (rs.next())
|
while (rs.next())
|
||||||
loadDefault (rs.getString(1), rs.getString(2));
|
loadDefault (rs.getString(1), rs.getString(2));
|
||||||
DB.close(rs, pstmt);
|
|
||||||
rs = null; pstmt = null;
|
|
||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue