~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
7 months ago
Updated
a month ago
Labels
No labels applied.

~sircmpwn a month 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.