diff --git a/internal/captcha/instance.go b/internal/captcha/instance.go index 934b8c5..ce5d56d 100644 --- a/internal/captcha/instance.go +++ b/internal/captcha/instance.go @@ -27,3 +27,7 @@ func Solve(id ID, answer Answer) (bool, error) { func IsSolved(id ID) (bool, error) { return captchaDb.IsSolved(id) } + +func GetExpireInterval() time.Duration { + return captchaDb.ExpireInterval +}