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

Added JS to prevent multiple submits #844

Closed
davidcoutadeur opened this issue Mar 6, 2024 · 1 comment · Fixed by #845
Closed

Added JS to prevent multiple submits #844

davidcoutadeur opened this issue Mar 6, 2024 · 1 comment · Fixed by #845
Assignees
Milestone

Comments

@davidcoutadeur
Copy link

Proposition taken from @stevleibelt : #757

Original proposal:

I've added a little bit of javascript that disables the submit button once it is clicked.

The reason for that is to prevent users send the request form multiple times by clicking the submit button multiple times. If done so, this could result into an "false positive" error message that the password change was not successful.

@davidcoutadeur
Copy link
Author

davidcoutadeur commented Mar 6, 2024

See complete discussion in PR #757

See my PR #845 for fixing the issue with a preventDefault function. Tested on my desktop successfully

coudot added a commit that referenced this issue Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant