]> git.mxchange.org Git - jfinancials-war.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Sat, 5 Nov 2022 06:55:36 +0000 (07:55 +0100)
committerRoland Häder <roland@mxchange.org>
Sat, 5 Nov 2022 06:55:36 +0000 (07:55 +0100)
- updated to latest constructor changes (emailChangeStatus)

src/java/org/mxchange/jfinancials/beans/user/email_address/FinancialsEmailChangeWebRequestBean.java

index 86ffd0780226372645f62ae750ab32fb7e908ac0..c1937395a6455b75304722fc97730850e1fc40f0 100644 (file)
@@ -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();