mirror of
https://gitee.com/y_project/RuoYi-Cloud.git
synced 2026-02-01 14:31:56 +08:00
验证码防止重复刷新漏洞登录采用字符验证码;开启注册
This commit is contained in:
@@ -87,11 +87,11 @@ export default {
|
||||
],
|
||||
code: [{ required: true, trigger: "change", message: "请输入验证码" }]
|
||||
},
|
||||
loading: false,
|
||||
// loading: true,
|
||||
// 验证码开关
|
||||
captchaEnabled: true,
|
||||
// 注册开关
|
||||
register: false,
|
||||
register: true,
|
||||
redirect: undefined
|
||||
};
|
||||
},
|
||||
|
||||
@@ -217,7 +217,7 @@ security:
|
||||
# 验证码
|
||||
captcha:
|
||||
enabled: true
|
||||
type: math
|
||||
type: char
|
||||
# 防止XSS攻击
|
||||
xss:
|
||||
enabled: true
|
||||
|
||||
Reference in New Issue
Block a user