支持配置XSS跨站脚本过滤

This commit is contained in:
RuoYi
2021-07-28 09:58:59 +08:00
parent 3af7af265b
commit 954d208ac6
10 changed files with 886 additions and 7 deletions

View File

@@ -46,7 +46,7 @@ public class ValidateCodeServiceImpl implements ValidateCodeService
public AjaxResult createCapcha() throws IOException, CaptchaException
{
AjaxResult ajax = AjaxResult.success();
boolean captchaOnOff = captchaProperties.isEnabled();
boolean captchaOnOff = captchaProperties.getEnabled();
ajax.put("captchaOnOff", captchaOnOff);
if (!captchaOnOff)
{