Closed PhPPgAdminBug closed 6 years ago
First, if recaptcha's response is not expired, you won't get anything by calling execute
.
It's behavior of recaptcha. If you really need a new response, please call reset
to reset recaptcha before.
And it's invisible because you set the size
"invisible".
Please remove prop size
if you want a normal recaptcha.
Or maybe you prefer compact
size, it's smaller then the normal one.
For more information, please reference to recaptcha's document
If you use the normal recaptcha, you don't need to call execute
to trigger validation.
It'll be done when user click the recaptcha. And calling execute
will be an error.
I think you are misunderstanding something. If there is anything which can be improved in the document, please let me know.
Note: I had to put reset in a setTimeout
to get it to work. Maybe due to some throttling on Google's end?
setTimeout(() => {
this.$refs.invisibleRecaptcha.reset()
}, 1000)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I ran into this error too. To solve it, you need to store a token. Call reset
only on the onExpired hook. execute
is called only when there is no token.
1 - captcha not appearing 2 - it just shows some white screen blink, than captcha like successed or failed, we do not know rly, only console shows result 3 - after that page relaod required if captcha fails or succesed