正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -62,7 +62,7 @@ public class SysLoginService | @@ -62,7 +62,7 @@ public class SysLoginService | ||
| 62 | // 验证码开关 | 62 | // 验证码开关 |
| 63 | if (captchaOnOff) | 63 | if (captchaOnOff) |
| 64 | { | 64 | { |
| 65 | - validateCapcha(username, code, uuid); | 65 | + validateCaptcha(username, code, uuid); |
| 66 | } | 66 | } |
| 67 | // 用户验证 | 67 | // 用户验证 |
| 68 | Authentication authentication = null; | 68 | Authentication authentication = null; |
| @@ -100,7 +100,7 @@ public class SysLoginService | @@ -100,7 +100,7 @@ public class SysLoginService | ||
| 100 | * @param uuid 唯一标识 | 100 | * @param uuid 唯一标识 |
| 101 | * @return 结果 | 101 | * @return 结果 |
| 102 | */ | 102 | */ |
| 103 | - public void validateCapcha(String username, String code, String uuid) | 103 | + public void validateCaptcha(String username, String code, String uuid) |
| 104 | { | 104 | { |
| 105 | String verifyKey = Constants.CAPTCHA_CODE_KEY + uuid; | 105 | String verifyKey = Constants.CAPTCHA_CODE_KEY + uuid; |
| 106 | String captcha = redisCache.getCacheObject(verifyKey); | 106 | String captcha = redisCache.getCacheObject(verifyKey); |
-
请 注册 或 登录 后发表评论