验证码防止重复刷新漏洞登录采用字符验证码;开启注册

This commit is contained in:
阿明 2023-11-16 16:33:45 +08:00
parent c90255f04f
commit 40cefad54b
2 changed files with 3 additions and 3 deletions

View File

@ -87,11 +87,11 @@ export default {
], ],
code: [{ required: true, trigger: "change", message: "请输入验证码" }] code: [{ required: true, trigger: "change", message: "请输入验证码" }]
}, },
loading: false, // loading: true,
// //
captchaEnabled: true, captchaEnabled: true,
// //
register: false, register: true,
redirect: undefined redirect: undefined
}; };
}, },

View File

@ -217,7 +217,7 @@ security:
# 验证码 # 验证码
captcha: captcha:
enabled: true enabled: true
type: math type: char
# 防止XSS攻击 # 防止XSS攻击
xss: xss:
enabled: true enabled: true