return new AjaxResult(AjaxResultCode.INVALID,
BindingErrors.from(result));
}
signInUser.setName(formBean.getName());
signInUser.setCity(formBean.getCity());
Gender gender = null;
try {
gender = Gender.valueOf(formBean.getGender());
} catch (IllegalArgumentException iae) {
logger.warn("Get illegal gender \"" + formBean.getGender()
+ "\" for user" + signInUser.getName());