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

token times out after x time. #90

Open
p4r4ll4x opened this issue Dec 17, 2021 · 1 comment
Open

token times out after x time. #90

p4r4ll4x opened this issue Dec 17, 2021 · 1 comment

Comments

@p4r4ll4x
Copy link

p4r4ll4x commented Dec 17, 2021

I have a large form to fill in on my website.
After some time, the token times out.
Is this by design or am i missing something?
If by design, what is the best way to refresh the token before timing out?

@p4r4ll4x
Copy link
Author

p4r4ll4x commented Dec 18, 2021

I added this line of code to refresh the token every 2 minutes:
setInterval(function(){refreshReCaptchaV3('contact_subscribe_id','contact_subscribe');},120000);

Other ideas are much appreciated.

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