Option to re-run turnstile?
wc-davide opened this issue · 2 comments
wc-davide commented
Hi, is there any option or way to make the component re-run?
I am in the following scenario:
- User submits a form, then decides to send another one (same component)
- Even by updating the key of the Turnstile component, the challenge doesn't re-run so I don't get a new token
Getting a new token for the second request is needed because a token can only be used for 1 request, then it becomes invalid.
Is there any way I could achieve this?
timo75 commented
Calling turnstile.reset() should work.
fquero47 commented
Uncaught (in promise) TurnstileError: [Cloudflare Turnstile] Widget 0am12 to reset was not found..