|
|
@@ -426,9 +426,9 @@ public class PublicController extends BaseController {
|
|
|
cleanCodeSession();
|
|
|
return res;
|
|
|
}else if(!TokenManager.getSession().getAttribute(VerifyCodeUtils.RESET_CODE).equals(resetCode)){
|
|
|
- res.getError().add(buildError(ErrorConstants.RESET_CODE_ERROR, "", "验证码错误,请重新获取验证码!"));
|
|
|
- cleanCodeSession();
|
|
|
- return res;
|
|
|
+ res.getError().add(buildError(ErrorConstants.RESET_CODE_ERROR, "", "验证码错误,请重新获取验证码!"));
|
|
|
+ cleanCodeSession();
|
|
|
+ return res;
|
|
|
}
|
|
|
if (StringUtils.isBlank(newPwd)) {
|
|
|
res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR, "", "新密码"));
|