增加图形验证码的功能
This commit is contained in:
@@ -90,6 +90,23 @@
|
||||
"byIP": true,
|
||||
"byUserID": false
|
||||
},
|
||||
"captcha": {
|
||||
"enabled": false,
|
||||
"length": 4,
|
||||
"width": 120,
|
||||
"height": 40,
|
||||
"ttlSec": 300,
|
||||
"login": {
|
||||
"showAfterFailures": 3,
|
||||
"lockAfterFailures": 10,
|
||||
"lockDurationMin": 30
|
||||
},
|
||||
"scenes": {
|
||||
"register": { "mode": "always" },
|
||||
"change_phone": { "mode": "always" },
|
||||
"send_sms": { "mode": "always" }
|
||||
}
|
||||
},
|
||||
"mcp": {
|
||||
"enabled": true,
|
||||
"callTimeoutSeconds": 60,
|
||||
|
||||
Reference in New Issue
Block a user