mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-03 21:08:25 +00:00 
			
		
		
		
	fixed reCAPTCHA URL (#9083)
This commit is contained in:
		
				
					committed by
					
						
						zeripath
					
				
			
			
				
	
			
			
			
						parent
						
							513b9fc988
						
					
				
				
					commit
					30fde478db
				
			@@ -24,7 +24,7 @@ type Response struct {
 | 
				
			|||||||
	ErrorCodes  []string  `json:"error-codes"`
 | 
						ErrorCodes  []string  `json:"error-codes"`
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const apiURL = "/api/siteverify"
 | 
					const apiURL = "api/siteverify"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Verify calls Google Recaptcha API to verify token
 | 
					// Verify calls Google Recaptcha API to verify token
 | 
				
			||||||
func Verify(response string) (bool, error) {
 | 
					func Verify(response string) (bool, error) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user