]> source.dussan.org Git - gitea.git/commitdiff
fixed reCAPTCHA URL (#9083)
authorKoichi MATSUMOTO <mzch@me.com>
Fri, 22 Nov 2019 08:03:45 +0000 (17:03 +0900)
committerzeripath <art27@cantab.net>
Fri, 22 Nov 2019 08:03:45 +0000 (08:03 +0000)
modules/recaptcha/recaptcha.go

index 2d7bb6a5a6bb3e003cc82329a2360c703ae7d26e..a9718f2fdd111d244a873fc5e110f43e5a679ea8 100644 (file)
@@ -24,7 +24,7 @@ type Response struct {
        ErrorCodes  []string  `json:"error-codes"`
 }
 
-const apiURL = "/api/siteverify"
+const apiURL = "api/siteverify"
 
 // Verify calls Google Recaptcha API to verify token
 func Verify(response string) (bool, error) {