IDEMPIERE-358 Login- how to make unique and safe / Set #AD_User_Name

This commit is contained in:
Carlos Ruiz 2012-08-22 20:44:25 -05:00
parent d1b2ac2012
commit 7771156f10
1 changed files with 1 additions and 0 deletions

View File

@ -474,6 +474,7 @@ public class RolePanel extends Window implements EventListener, Deferrable
MUser user = MUser.get (m_ctx, m_userName);
if (user != null) {
Env.setContext(m_ctx, "#AD_User_ID", user.getAD_User_ID() );
Env.setContext(m_ctx, "#AD_User_Name", user.getName() );
Env.setContext(m_ctx, "#SalesRep_ID", user.getAD_User_ID() );
}
}