From b848b3a912d6eab4d209e7ce246c7921f4208fdb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 26 Jun 2017 17:01:02 +0200 Subject: [PATCH] used getManagedUser() MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../model/user/resendlink/FinancialsResendLinkSessionBean.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/java/org/mxchange/jusercore/model/user/resendlink/FinancialsResendLinkSessionBean.java b/src/java/org/mxchange/jusercore/model/user/resendlink/FinancialsResendLinkSessionBean.java index 48cc22c..187abcd 100644 --- a/src/java/org/mxchange/jusercore/model/user/resendlink/FinancialsResendLinkSessionBean.java +++ b/src/java/org/mxchange/jusercore/model/user/resendlink/FinancialsResendLinkSessionBean.java @@ -28,7 +28,6 @@ import org.mxchange.jfinancials.database.BaseFinancialsDatabaseBean; import org.mxchange.jusercore.exceptions.UserNotFoundException; import org.mxchange.jusercore.exceptions.UserStatusConfirmedException; import org.mxchange.jusercore.exceptions.UserStatusLockedException; -import org.mxchange.jusercore.model.user.LoginUser; import org.mxchange.jusercore.model.user.User; import org.mxchange.jusercore.model.user.UserSessionBeanRemote; import org.mxchange.jusercore.model.user.register.UserRegistrationSessionBeanRemote; @@ -103,7 +102,7 @@ public class FinancialsResendLinkSessionBean extends BaseFinancialsDatabaseBean String confirmationKey = this.registerBean.generateConfirmationKey(user); // Get managed instance - User managedUser = this.getEntityManager().find(LoginUser.class, user.getUserId()); + User managedUser = this.getManagedUser(user); // Set it in user managedUser.setUserConfirmKey(confirmationKey); -- 2.39.5