From: Roland Häder Date: Sat, 5 Nov 2022 06:55:36 +0000 (+0100) Subject: Please cherry-pick: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c483feb1aa9a3e92b777e4bdc0d94e69a2ac2572;p=jfinancials-war.git Please cherry-pick: - updated to latest constructor changes (emailChangeStatus) --- diff --git a/src/java/org/mxchange/jfinancials/beans/user/email_address/FinancialsEmailChangeWebRequestBean.java b/src/java/org/mxchange/jfinancials/beans/user/email_address/FinancialsEmailChangeWebRequestBean.java index 86ffd078..c1937395 100644 --- a/src/java/org/mxchange/jfinancials/beans/user/email_address/FinancialsEmailChangeWebRequestBean.java +++ b/src/java/org/mxchange/jfinancials/beans/user/email_address/FinancialsEmailChangeWebRequestBean.java @@ -32,6 +32,7 @@ import org.mxchange.jfinancials.beans.user.email_address.list.FinancialsEmailCha import org.mxchange.jfinancials.beans.user.login.FinancialsUserLoginWebSessionController; import org.mxchange.jusercore.model.email_address.ChangeableEmailAddress; import org.mxchange.jusercore.model.email_address.EmailAddressChange; +import org.mxchange.jusercore.model.email_address.status.EmailChangeStatus; import org.mxchange.jusercore.model.user.User; import org.mxchange.jusercore.model.user.email_address.UserEmailChangeSessionBeanRemote; import org.mxchange.juserlogincore.exceptions.UserPasswordMismatchException; @@ -141,7 +142,11 @@ public class FinancialsEmailChangeWebRequestBean extends BaseFinancialsBean impl } // Create change object, to save EJB calls, the hash is not generated here - final ChangeableEmailAddress emailChange = new EmailAddressChange(user, this.getEmailAddress()); + final ChangeableEmailAddress emailChange = new EmailAddressChange( + user, + this.getEmailAddress(), + EmailChangeStatus.NEW + ); // Get base URL final String baseUrl = FacesUtils.generateBaseUrl();