IDEMPIERE-358 Login- how to make unique and safe - fix problem stopping POS to work
This commit is contained in:
parent
1d5a201e7f
commit
bdccbad711
|
@ -966,8 +966,9 @@ public final class ALogin extends CDialog
|
|||
Env.setContext(m_ctx, "#AD_Client_ID", client.getKey());
|
||||
MUser user = MUser.get (m_ctx, userTextField.getText());
|
||||
if (user != null) {
|
||||
Env.setContext(m_ctx, "#AD_User_ID", user.getAD_User_ID() );
|
||||
Env.setContext(m_ctx, "#SalesRep_ID", user.getAD_User_ID() );
|
||||
Env.setContext(m_ctx, "#AD_User_Name", userTextField.getText());
|
||||
Env.setContext(m_ctx, "#AD_User_ID", user.getAD_User_ID());
|
||||
Env.setContext(m_ctx, "#SalesRep_ID", user.getAD_User_ID());
|
||||
}
|
||||
//
|
||||
KeyNamePair[] roles = m_login.getRoles(userTextField.getText(), client);
|
||||
|
|
Loading…
Reference in New Issue