]> git.mxchange.org Git - jjobs-ejb.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Wed, 31 Aug 2016 14:15:02 +0000 (16:15 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 31 Aug 2016 19:56:52 +0000 (21:56 +0200)
- maybe use getManagedUser() ?

src/java/org/mxchange/jusercore/model/user/JobsUserSessionBean.java

index 094e9c83d960901201634dd53324bfa39a551c19..982da110217a6741de677b5778438ba1749c359f 100644 (file)
@@ -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