return;
}
if (this.user == null) {
error.fire(new ErrorEvent(Constants.LOGIN_ERROR));
}
navEvent.fire(new NavEvent(NavigationEnum.USER_PREFS));
UIComponent root = FacesContext.getCurrentInstance().getViewRoot();
UIComponent component = root.findComponent("overForm");
FacesContext.getCurrentInstance().addMessage(component.getClientId(FacesContext.getCurrentInstance()),
new FacesMessage(FacesMessage.SEVERITY_INFO, "Success!", "Registration was successful."));