IDEMPIERE-358 Login- how to make unique and safe / Set #AD_User_Name
This commit is contained in:
parent
d1b2ac2012
commit
7771156f10
|
@ -474,6 +474,7 @@ public class RolePanel extends Window implements EventListener, Deferrable
|
||||||
MUser user = MUser.get (m_ctx, m_userName);
|
MUser user = MUser.get (m_ctx, m_userName);
|
||||||
if (user != null) {
|
if (user != null) {
|
||||||
Env.setContext(m_ctx, "#AD_User_ID", user.getAD_User_ID() );
|
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() );
|
Env.setContext(m_ctx, "#SalesRep_ID", user.getAD_User_ID() );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue