[Alerting] Added user to session during login
authorAnder Iraceburu <ander.iraceburu@openbravo.com>
Tue, 29 May 2018 16:49:08 +0200
changeset 33999 86cb314ebf98
parent 33998 71dba334c40b
child 34000 7df31b728967
[Alerting] Added user to session during login
src/org/openbravo/erpCommon/security/SessionLogin.java
--- a/src/org/openbravo/erpCommon/security/SessionLogin.java	Thu May 03 17:58:33 2018 +0200
+++ b/src/org/openbravo/erpCommon/security/SessionLogin.java	Tue May 29 16:49:08 2018 +0200
@@ -137,6 +137,7 @@
       User user1 = OBDal.getInstance().getProxy(User.class, getUser());
       session.setCreatedBy(user1);
       session.setUpdatedBy(user1);
+      session.setUser(user1);
       session.setWebSession(getWebSession());
       session.setRemoteAddress(getRemoteAddr());
       session.setRemoteHost(getRemoteHost());