Maptio / maptio

http://www.maptio.com
Other
23 stars 4 forks source link

Multiple users created within one second of each other #862

Open rgoj opened 5 months ago

rgoj commented 5 months ago

Problem

When investigating data issues for users mentioned in this intercom thread, I noticed that there were two users with almost identical information created within less than a second of each other.

This probably isn't important enough to spend time investigating it (see instructions for reproducing below), but I wanted to write this up to try to remember to collect any future occurences and to disentangle all the various auth-related glitches we've still got.

Screenshot

n/a

Instructions for reproducing

I'm not sure how to reproduce this! I assumed it was the usual missing protections from double form submissions, but couldn't reproduce this. I didn't dig through the code though, so perhaps the issue is there, might be worth paying attention to this next time we're in the area and tracing through the user creation steps.

Expected behavior

Only one user should be created at a time - sometimes multiple people will be added with the same details... but that's highly unlikely to happen within 1 second and Maptio should prevent two people with the same email address being added anyway!

Additional context

n/a