RuoYi
2021-07-29 f6bc28000e08839e30112f012e13f66f25d5e7c2
ruoyi-framework/src/main/java/com/ruoyi/framework/web/service/SysLoginService.java
@@ -62,7 +62,7 @@
        // 验证码开关
        if (captchaOnOff)
        {
            validateCapcha(username, code, uuid);
            validateCaptcha(username, code, uuid);
        }
        // 用户验证
        Authentication authentication = null;
@@ -100,7 +100,7 @@
     * @param uuid 唯一标识
     * @return 结果
     */
    public void validateCapcha(String username, String code, String uuid)
    public void validateCaptcha(String username, String code, String uuid)
    {
        String verifyKey = Constants.CAPTCHA_CODE_KEY + uuid;
        String captcha = redisCache.getCacheObject(verifyKey);