Affected by GO-2022-0308
and 2 other vulnerabilities
GO-2022-0308: Gitea displaying raw OpenID error in UI in github.com/go-gitea/gitea
GO-2022-0846: Gitea Remote Code Execution in github.com/go-gitea/gitea
GO-2022-0862: Gitea Improper Input Validation in github.com/go-gitea/gitea
package
Version:
v1.7.0-rc1
Opens a new window with list of versions in this module.
Published: Jan 3, 2019
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Verify calls Google Recaptcha API to verify token
type Response struct {
Success bool `json:"success"`
ChallengeTS time.Time `json:"challenge_ts"`
Hostname string `json:"hostname"`
ErrorCodes []string `json:"error-codes"`
}
Response is the structure of JSON returned from API
Source Files
¶
Click to show internal directories.
Click to hide internal directories.