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

Bug/avoid multiple submits #240

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Bug/avoid multiple submits #240

wants to merge 4 commits into from

Conversation

maxf
Copy link
Contributor

@maxf maxf commented Jul 2, 2024

No description provided.

maxf and others added 4 commits July 2, 2024 17:24
If a link is used it can be clicked in fast succession and result in multiple
duplicate applications created.

By using a form instead (consisting of a single button and a CSRF token) we can
avoid this.
Added test to confirm that any concurrent submissions will only save one instance of the application and the rest will be rejected.
If the user is on a page which should have session data but doesn't then it
means the user has ventured somewhere without a session.
@maxf maxf force-pushed the bug/avoid-multiple-submits branch from 03e354c to d215c0d Compare July 3, 2024 13:56
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

Successfully merging this pull request may close these issues.

2 participants