正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -51,12 +51,12 @@ public class SysLoginService | @@ -51,12 +51,12 @@ public class SysLoginService | ||
| 51 | redisCache.deleteObject(verifyKey); | 51 | redisCache.deleteObject(verifyKey); |
| 52 | if (captcha == null) | 52 | if (captcha == null) |
| 53 | { | 53 | { |
| 54 | - AsyncManager.me().execute(AsyncFactory.recordLogininfor(username, Constants.LOGIN_FAIL, MessageUtils.message("user.jcaptcha.error"))); | 54 | + AsyncManager.me().execute(AsyncFactory.recordLogininfor(username, Constants.LOGIN_FAIL, MessageUtils.message("user.jcaptcha.expire"))); |
| 55 | throw new CaptchaExpireException(); | 55 | throw new CaptchaExpireException(); |
| 56 | } | 56 | } |
| 57 | if (!code.equalsIgnoreCase(captcha)) | 57 | if (!code.equalsIgnoreCase(captcha)) |
| 58 | { | 58 | { |
| 59 | - AsyncManager.me().execute(AsyncFactory.recordLogininfor(username, Constants.LOGIN_FAIL, MessageUtils.message("user.jcaptcha.expire"))); | 59 | + AsyncManager.me().execute(AsyncFactory.recordLogininfor(username, Constants.LOGIN_FAIL, MessageUtils.message("user.jcaptcha.error"))); |
| 60 | throw new CaptchaException(); | 60 | throw new CaptchaException(); |
| 61 | } | 61 | } |
| 62 | // 用户验证 | 62 | // 用户验证 |
-
请 注册 或 登录 后发表评论