diff --git a/pkg/captcha/db.go b/pkg/captcha/db.go index 917afef..5095242 100644 --- a/pkg/captcha/db.go +++ b/pkg/captcha/db.go @@ -115,6 +115,7 @@ func (cdb *CaptchaDB) IsSolved(id ID) (bool, error) { return false, errorNotFound } +// GetExpiry returns time for how long captcha will last. func (cdb *CaptchaDB) GetExpiry() time.Duration { return cdb.ExpireIn }