~sircmpwn/todo.sr.ht#124:
Prevent double submission for comments

You can easily accidentally submit a comment twice if the form submit request loads slowly. This is easily fixable with javascript but not as easy without it.

Status
REPORTED
Submitter
~martijnbraam
Assigned to
No-one
Submitted
1 year, 30 days ago
Updated
6 months ago
Labels
No labels applied.

~sircmpwn 6 months ago

Suggested approach: issue a comment token when you load the page and stick it in the form. Stick that token in redis on submission to prevent dupes.

Register here or Log in to comment, or comment via email.