diff --git a/internal/captcha/instance.go b/internal/captcha/instance.go index e05d19a..28e6a94 100644 --- a/internal/captcha/instance.go +++ b/internal/captcha/instance.go @@ -30,5 +30,5 @@ func IsSolved(id captcha.ID) (bool, error) { } func GetExpiry() time.Duration { - return captchaDb.ExpireIn + return captchaDb.GetExpiry() }