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
|
@ -446,8 +446,11 @@ public final class ALogin extends CDialog
|
|||
else
|
||||
{
|
||||
setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
|
||||
m_okPressed = true;
|
||||
defaultsOK(); // disposes
|
||||
m_okPressed = true;
|
||||
// Dispose if OK - teo_sarca [ 1674663 ]
|
||||
if(!defaultsOK())
|
||||
m_okPressed = false;
|
||||
setCursor(Cursor.getDefaultCursor());
|
||||
}
|
||||
}
|
||||
else if (e.getActionCommand().equals(ConfirmPanel.A_CANCEL))
|
||||
|
|
Loading…
Reference in New Issue