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