nuxt-modules / turnstile

🔥 Cloudflare Turnstile integration for Nuxt
https://cloudflare.com/products/turnstile
MIT License
239 stars 18 forks source link

Behavior change in Cloudflare turnstile deprecating reset function? #95

Closed scalemaildev closed 1 year ago

scalemaildev commented 1 year ago

It looks like something changed with the CloudFlare turnstile API. Now after sending my token along with a submit form it appears that the turnstile automatically refreshes.

I removed the reset() function from my auth forms and the turnstile is still refreshing. Attempting to manually refresh the token actually throws an error now because the token is already refreshing and therefore null.

Is anyone else experiencing this behavior?

e: I would blame having the turnstile in a v-if but it was already inside one.

dargmuesli commented 1 year ago

Is there a change to this module you're asking for or can this issue be closed or converted into a discussion?

dargmuesli commented 1 year ago

I'm closing this for now. Feel free to reopen with more details! :heart: