Accounts created for nothing because of user spam #16

Closed
opened 2 years ago by neil · 1 comments
neil commented 2 years ago
Owner

When the user is repeatedly and stubbornly clicking on the "Create a form" button (YES, it happens), the request is sent three times:

xxx.xxx.xxx.xxx - - [09/Sep/2020:XX:21:09 +0200] "GET /link HTTP/2.0" 499
xxx.xxx.xxx.xxx - - [09/Sep/2020:XX:21:11 +0200] "GET /link HTTP/2.0" 200

... And two accounts are created.

On these two accounts, only the last one is used for real:

Created user AgreeableMeditite
Created user ModernKeldeo
Sending forged login for user ModernKeldeo

Related to #8.

How to solve this, I wonder...

When the user is repeatedly and stubbornly clicking on the "Create a form" button (YES, it happens), the request is sent three times: ``` xxx.xxx.xxx.xxx - - [09/Sep/2020:XX:21:09 +0200] "GET /link HTTP/2.0" 499 xxx.xxx.xxx.xxx - - [09/Sep/2020:XX:21:11 +0200] "GET /link HTTP/2.0" 200 ``` ... And two accounts are created. On these two accounts, only the last one is used for real: ``` Created user AgreeableMeditite Created user ModernKeldeo Sending forged login for user ModernKeldeo ``` Related to #8. How to solve this, I wonder...
neil added the help wanted question priority:low labels 2 years ago
neil commented 2 years ago
Poster
Owner

Solution: add JS code on the home page to transform the button into a loading animation once clicked. This won't fix #8 though.

Solution: add JS code on the home page to transform the button into a loading animation once clicked. This won't fix #8 though.
neil closed this issue 2 years ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: neil/sncf#16
Loading…
There is no content yet.