|
|
@@ -106,8 +106,8 @@ public class LoginController extends BaseController {
|
|
|
// 校验密码
|
|
|
String encryPwd = userService.getEncryPassword(Const.ENCRY_FORMAT, password, user.getSalt());
|
|
|
if (!encryPwd.equals(user.getPassword())) {
|
|
|
- inputErrorPwd(user.getUserRecord());
|
|
|
- return error("您输入的账号或密码有误");
|
|
|
+ pwdErrorCount = inputErrorPwd(user.getUserRecord());
|
|
|
+ return error("您输入的账号或密码有误").addAttribute("errorCount", pwdErrorCount);
|
|
|
}
|
|
|
|
|
|
// 登录
|