mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	
				
					committed by
					
						
						zeripath
					
				
			
			
				
	
			
			
			
						parent
						
							ade5ec5aa7
						
					
				
				
					commit
					65a573f3c7
				
			@@ -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) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user