diff --git a/captcha.go b/captcha.go index c56a841..1014f24 100644 --- a/captcha.go +++ b/captcha.go @@ -8,6 +8,6 @@ import ( type Captcha interface { HttpMiddleware(container *do.Injector) func(next http.Handler) http.Handler - Verify(id, answer string, clear bool) bool + Verify(id, answer string, clear bool) error Generate(captchaUuid string) (id, answer string) }