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

[REF] website_event: Refresh recaptcha on submit event registration form #620

Open
wants to merge 2 commits into
base: 16.0-irc
Choose a base branch
from

Conversation

keylor2906
Copy link

[REF] website_event: Refresh recaptcha on submit event registration form.

When you want to register for an event, after selecting the number of tickets it opens a modal with a form to fill, on this moment it generates a recaptcha token, but if you take more than 2 minutes to submit the form it will return an error of timeout recaptcha, which is unavoidable for cases of wanting to register a great quantity of tickets at the same time, because it takes a long time to fill the form. To avoid this issue, we refresh the token on the submit.

Description of the issue/feature this PR addresses:

Current behavior before PR:

Desired behavior after PR is merged:


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

…orm.

When you want to register for an event, after selecting the number of tickets
it opens a modal with a form to fill, on this moment it generates a recaptcha
token, but if you take more than 2 minutes to submit the form it will return
an error of timeout recaptcha, which is unavoidable for cases of wanting to
register a great quantity of tickets at the same time, because it takes a long
time to fill the form. To avoid this issue, we refresh the token on the submit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants