恢复验证码识别
This commit is contained in:
parent
411bbfc6c1
commit
654a400dce
|
|
@ -294,9 +294,9 @@ public class UserController extends BaseController {
|
|||
// 验证码校验
|
||||
String realCaptcha = (String) request.getSession().getAttribute("captchadl");
|
||||
request.getSession().removeAttribute("captchadl");
|
||||
// if (!captchadl.equalsIgnoreCase(realCaptcha)) {
|
||||
// return RestResult.error(ResultCode.USER_NOT_LOGGED_IN, "登录验证码错误");
|
||||
// }
|
||||
if (!captchadl.equalsIgnoreCase(realCaptcha)) {
|
||||
return RestResult.error(ResultCode.USER_NOT_LOGGED_IN, "登录验证码错误");
|
||||
}
|
||||
|
||||
TUsers tUsers = usersService.selectTusersByUsername(phone);
|
||||
if (tUsers == null) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue