From e30c3663d4b5bdfe5a4051e83be7cf3a4b0d2c7d Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sun, 26 Jun 2022 15:46:49 +0400 Subject: [PATCH] Removed passing of expiration time to HTTP handlers. --- cmd/justcaptchad/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/justcaptchad/main.go b/cmd/justcaptchad/main.go index a1ca01c..d9fed98 100644 --- a/cmd/justcaptchad/main.go +++ b/cmd/justcaptchad/main.go @@ -30,7 +30,7 @@ func main() { captcha.Init(*captchaExpire) - hand := handlers.New(*captchaExpire) + hand := handlers.New() srv := server.NewHttpServer() srv.GET("/", hand.New)