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:
teo_sarca 2007-03-07 08:26:20 +00:00
parent 9af071eae2
commit 81a1ffa84f
1 changed files with 5 additions and 2 deletions

View File

@ -447,7 +447,10 @@ public final class ALogin extends CDialog
{
setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
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))