captcha
captcha copied to clipboard
Distinguish between expired captchas and invalid submissions?
It seems that there is no way to do this, though it would be helpful. I'd like to alert my users with "expired captcha" or "invalid captcha" instead of just reporting failure.
This is pretty minor, of course. By and large, this is a great package. Thanks for building and sharing. You've saved me quite a bit of effort/frustration/etc.
Thank you for your kind words! Since Verify returns a bool, distinguishing between errors will either require changing the API (so I'd do this in the major version with other changes that will pop up) or creating a separate function (e.g. VerifyWithError or something). I think the former is better, so it will take some time.