diff --git a/captcha.go b/captcha.go index 1014f24..d4468dd 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) error - Generate(captchaUuid string) (id, answer string) + Verify(answer, salt string, clear bool) error + Generate(captchaUuid string, u User) (answer, salt string) }