nuxt-modules / turnstile

πŸ”₯ Cloudflare Turnstile integration for Nuxt

Home Page:https://cloudflare.com/products/turnstile

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add a way to force the regeneration of a token

Romitou opened this issue Β· comments

πŸ†’ Your use case

For example on a login or registration page, an error can occur on the server side (error of validation for example), the user can thus correct his data and send them again. Nevertheless, the token being with single use, it was invalidated by the server: I would like to be able to force the regeneration of a Turnstile token on the client side.

πŸ†• The solution you'd like

I would like for example to have access to a method that would allow to reset the Turnstile challenge, in the same way that the component does every 300 seconds.

πŸ” Alternatives you've considered

No response

ℹ️ Additional info

No response