import org.mxchange.jcontacts.events.contact.add.AdminAddedContactEvent;
import org.mxchange.jjobs.beans.BaseJobsController;
import org.mxchange.jjobs.beans.contact.JobsContactWebSessionController;
+import org.mxchange.jjobs.beans.localization.JobsLocalizationSessionController;
import org.mxchange.jjobs.beans.login.JobsUserLoginWebSessionController;
import org.mxchange.jjobs.beans.register.JobsUserRegisterWebSessionController;
import org.mxchange.jusercore.events.confirmation.UserConfirmedAccountEvent;
@Inject
private JobsContactWebSessionController contactController;
+ /**
+ * Localization controller
+ */
+ @Inject
+ private JobsLocalizationSessionController localizationController;
+
+ /**
+ * Login bean (controller)
+ */
+ @Inject
+ private JobsUserLoginWebSessionController loginController;
+
/**
* Registration controller
*/
this.setUserPasswordRepeat(randomPassword);
}
- // Set user name and mode
+ // Set local, user name and mode
+ user.setUserLocale(this.localizationController.getLocale());
user.setUserName(this.getUserName());
user.setUserProfileMode(this.getUserProfileMode());