RuoYi
2021-07-31 93ee021b6e8a9e6b3bca12c2f35f6e3c68baef5a
ruoyi-gateway/src/main/java/com/ruoyi/gateway/service/impl/ValidateCodeServiceImpl.java
@@ -46,7 +46,7 @@
    public AjaxResult createCapcha() throws IOException, CaptchaException
    {
        AjaxResult ajax = AjaxResult.success();
        boolean captchaOnOff = captchaProperties.isEnabled();
        boolean captchaOnOff = captchaProperties.getEnabled();
        ajax.put("captchaOnOff", captchaOnOff);
        if (!captchaOnOff)
        {