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

No method for 'expired' scenario #66

Closed
nwrightau opened this issue Jun 27, 2017 · 2 comments
Closed

No method for 'expired' scenario #66

nwrightau opened this issue Jun 27, 2017 · 2 comments

Comments

@nwrightau
Copy link

After the user checks the box and solves the captcha, if a period of time passes recaptcha will invalidate it and ask them to solve it again, but I'm not seeing a way for that to be reflected in Vue. If there isn't a method available, there probably should be.

Would appreciate your thoughts on this.

@DanSnow
Copy link
Owner

DanSnow commented Jun 27, 2017

Actually there is a "expired" event.
Sorry. I miss the document for it.

Usage:

<vue-recaptcha @verify="onVerify" @expired="onExpired"></vue-recaptcha>

@nwrightau
Copy link
Author

Excellent, works perfect - definitely add that to the docs 😄

@DanSnow DanSnow closed this as completed Jun 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants