]> git.mxchange.org Git - jjobs-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:56:12 +0000 (07:56 +0100)
- updated to latest constructor changes (emailChangeStatus)

src/java/org/mxchange/jjobs/beans/user/email_address/JobsEmailChangeWebRequestBean.java

index 1cd343ad516f558c486e2205e0674475bdee75a7..de2aaceac023e1ee8a60f478ba6ad21d51ffac20 100644 (file)
@@ -32,6 +32,7 @@ import org.mxchange.jjobs.beans.user.email_address.list.JobsEmailChangeListWebVi
 import org.mxchange.jjobs.beans.user.login.JobsUserLoginWebSessionController;
 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 JobsEmailChangeWebRequestBean extends BaseJobsBean implements JobsE
                }
 
                // 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();