diff --git a/internal/handlers/handlers.go b/internal/handlers/handlers.go index 567dd9a..fc797ea 100644 --- a/internal/handlers/handlers.go +++ b/internal/handlers/handlers.go @@ -16,8 +16,7 @@ func New() *CaptchaHandlers { } func (h *CaptchaHandlers) New(w http.ResponseWriter, r *http.Request) { - dc := captcha.NewDwellingCaptcha(captcha.GetExpiry()) - _, id := captcha.New(r.RemoteAddr, dc) + _, id := captcha.New(r.RemoteAddr) fmt.Fprint(w, id) }