Skip to content

Commit

Permalink
Fix reCAPTCHA URL (go-gitea#9119)
Browse files Browse the repository at this point in the history
Fix reCAPTCHA issue
  • Loading branch information
mzch authored and zeripath committed Nov 22, 2019
1 parent ade5ec5 commit 65a573f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/recaptcha/recaptcha.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 65a573f

Please sign in to comment.