cfturnstile-vue3 icon indicating copy to clipboard operation
cfturnstile-vue3 copied to clipboard

Option to re-run turnstile?

Open wc-davide opened this issue 1 year ago • 2 comments

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?

wc-davide avatar Dec 14 '22 14:12 wc-davide