From d6bc14875f34d8f2d52c2b2bef875690f2212e0f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 31 Aug 2016 16:15:02 +0200 Subject: [PATCH] Please cherry-pick: - maybe use getManagedUser() ? --- .../org/mxchange/jusercore/model/user/JobsUserSessionBean.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/mxchange/jusercore/model/user/JobsUserSessionBean.java b/src/java/org/mxchange/jusercore/model/user/JobsUserSessionBean.java index 094e9c8..982da11 100644 --- a/src/java/org/mxchange/jusercore/model/user/JobsUserSessionBean.java +++ b/src/java/org/mxchange/jusercore/model/user/JobsUserSessionBean.java @@ -649,7 +649,7 @@ public class JobsUserSessionBean extends BaseJobsDatabaseBean implements UserSes // Set all data here to avoid user instance become detached again entry.setUserPasswordHistoryPasswordHash(managedUser.getUserEncryptedPassword()); - entry.setUserPasswordHistoryUser(managedUser); + entry.setUserPasswordHistoryUser(this.getManagedUser(user)); entry.setUserPasswordHistoryCreated(new GregorianCalendar()); // Persist it -- 2.39.5