Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force refreshed after 1000*250? #377

Open
oom- opened this issue Feb 13, 2025 · 0 comments
Open

Force refreshed after 1000*250? #377

oom- opened this issue Feb 13, 2025 · 0 comments

Comments

@oom-
Copy link

oom- commented Feb 13, 2025

Hello,

I do not understand why do you reset the widget after 1000*250 seconds ?

interval = setInterval(reset, props.resetInterval)

Is that to auto refresh the token ?
Because this can be set to auto :
https://developers.cloudflare.com/turnstile/get-started/client-side-rendering/#refresh-an-expired-token

Is there another reason? Else it should probably be removed by default?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant