BF [ 1674663 ] Adempiere allows you to login using a user with no access
https://sourceforge.net/tracker/index.php?func=detail&aid=1674663&group_id=176962&atid=879332
This commit is contained in:
parent
9af071eae2
commit
81a1ffa84f
|
@ -447,7 +447,10 @@ public final class ALogin extends CDialog
|
||||||
{
|
{
|
||||||
setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
|
setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
|
||||||
m_okPressed = true;
|
m_okPressed = true;
|
||||||
defaultsOK(); // disposes
|
// Dispose if OK - teo_sarca [ 1674663 ]
|
||||||
|
if(!defaultsOK())
|
||||||
|
m_okPressed = false;
|
||||||
|
setCursor(Cursor.getDefaultCursor());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (e.getActionCommand().equals(ConfirmPanel.A_CANCEL))
|
else if (e.getActionCommand().equals(ConfirmPanel.A_CANCEL))
|
||||||
|
|
Loading…
Reference in New Issue