mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-02 19:40:19 +08:00
feat: add dynamic mode for provider to enable verification code when the login password is wrong (#1753)
* fix: update webAuthnBufferDecode to support Base64URL for WebAuthn updates * feat: enable verification code when the login password is wrong * fix: only enable captcha when login in password * fix: disable login error limits when captcha on * fix: pass "enableCaptcha" as an optional param * fix: change enbleCapctah to optional bool param
This commit is contained in:
@ -552,6 +552,14 @@
|
||||
}
|
||||
},
|
||||
"/api/api/get-webhook-event": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"GetCaptchaStatus API"
|
||||
],
|
||||
"operationId": "ApiController.GetCaptchaStatus"
|
||||
}
|
||||
},
|
||||
"/api/api/get-captcha-status": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"GetWebhookEventType API"
|
||||
|
@ -360,6 +360,11 @@ paths:
|
||||
tags:
|
||||
- GetWebhookEventType API
|
||||
operationId: ApiController.GetWebhookEventType
|
||||
/api/api/get-captcha-status:
|
||||
get:
|
||||
tags:
|
||||
- GetCaptchaStatus API
|
||||
operationId: ApiController.GetCaptchaStatus
|
||||
/api/api/reset-email-or-phone:
|
||||
post:
|
||||
tags:
|
||||
|
Reference in New Issue
Block a user