import org.mxchange.jcoreee.utils.FacesUtils;
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;
}
// 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();