mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 02:17:05 +00:00
add human-friendly middleware names on route debugging (see HISTORY.md#Next)
Former-commit-id: f7291c4a077c4d1573344c93ba8a153fede18795
This commit is contained in:
@@ -11,6 +11,10 @@ import (
|
||||
"github.com/kataras/iris/v12/core/netutil"
|
||||
)
|
||||
|
||||
func init() {
|
||||
context.SetHandlerName("iris/middleware/recaptcha.*", "reCAPTCHA")
|
||||
}
|
||||
|
||||
const (
|
||||
// responseFormValue = "g-recaptcha-response"
|
||||
apiURL = "https://www.google.com/recaptcha/api/siteverify"
|
||||
|
||||
Reference in New Issue
Block a user