File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -38,19 +38,19 @@ type InfoProvider struct {
3838
3939//nolint:gochecknoglobals
4040var infoProviders = map [string ]* InfoProvider {
41- configuration .HcaptchaProvider : & InfoProvider {
41+ configuration .HcaptchaProvider : {
4242 js : "https://hcaptcha.com/1/api.js" ,
4343 key : "h-captcha" ,
4444 response : "h-captcha-response" ,
4545 validate : "https://api.hcaptcha.com/siteverify" ,
4646 },
47- configuration .RecaptchaProvider : & InfoProvider {
47+ configuration .RecaptchaProvider : {
4848 js : "https://www.google.com/recaptcha/api.js" ,
4949 key : "g-recaptcha" ,
5050 response : "g-recaptcha-response" ,
5151 validate : "https://www.google.com/recaptcha/api/siteverify" ,
5252 },
53- configuration .TurnstileProvider : & InfoProvider {
53+ configuration .TurnstileProvider : {
5454 js : "https://challenges.cloudflare.com/turnstile/v0/api.js" ,
5555 key : "cf-turnstile" ,
5656 response : "cf-turnstile-response" ,
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ type Config struct {
8686 CaptchaHTMLFilePath string `json:"captchaHtmlFilePath,omitempty"`
8787 CaptchaProvider string `json:"captchaProvider,omitempty"`
8888 CaptchaCustomJsURL string `json:"captchaCustomJsUrl,omitempty"`
89- CaptchaCustomValidateURL string `json:"captchaCustomValidateURL ,omitempty"`
89+ CaptchaCustomValidateURL string `json:"captchaCustomValidateUrl ,omitempty"`
9090 CaptchaCustomKey string `json:"captchaCustomKey,omitempty"`
9191 CaptchaCustomResponse string `json:"captchaCustomResponse,omitempty"`
9292 CaptchaSiteKey string `json:"captchaSiteKey,omitempty"`
You can’t perform that action at this time.
0 commit comments