From 709e8e454566d5f3fbaa582b91196eb74acd023e 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/PizzaUserSessionBean.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/mxchange/jusercore/model/user/PizzaUserSessionBean.java b/src/java/org/mxchange/jusercore/model/user/PizzaUserSessionBean.java index fed3db6..5fe89f8 100644 --- a/src/java/org/mxchange/jusercore/model/user/PizzaUserSessionBean.java +++ b/src/java/org/mxchange/jusercore/model/user/PizzaUserSessionBean.java @@ -649,7 +649,7 @@ public class PizzaUserSessionBean extends BasePizzaDatabaseBean implements UserS // 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