mirror of
https://gitee.com/y_project/RuoYi-Cloud.git
synced 2026-03-11 19:26:53 +08:00
支持配置XSS跨站脚本过滤
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user