Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Distinguish between expired captchas and invalid submissions? #6

Open
dasmithii opened this issue Feb 1, 2015 · 1 comment
Open

Comments

@dasmithii
Copy link

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.

@dchest dchest added the feature label Feb 1, 2015
@dchest
Copy link
Owner

dchest commented Feb 1, 2015

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.

@dchest dchest added this to the v2 milestone Jun 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants