Do not process login information if the user is still typing their username
What happened?
One of my users has a username that's strikingly similar to another username. I'm guessing that when the server hiccups and accidentally loads the (stale profile) before it loads the new one, and it will replace the information of the freshly pulled user, with that of the stale user.
What did you expect to happen?
Stale user grabs would be cancelled, invalidated, or just 'not used' if there's new input.
Version (What version of Sharkey is your instance running? You can find this by clicking your instance's logo at the top left and then clicking instance information.)
Docker/Devel
Instance (What instance of Sharkey are you using?)
kitsunes.club
What type of issue is this? (If this happens on your device and has to do with the user interface, it's client-side. If this happens on either with the API or the backend, or you got a server-side error in the client, it's server-side.)
Client-Side
What browser are you using? (Client-side issues only)
Firefox 131.0.2
What operating system are you using? (Client-side issues only)
Arch Linux using the 6.11.2-arch1-1 kernel
Contribution Guidelines By submitting this issue, you agree to follow our Contribution Guidelines
- I agree to follow this project's Contribution Guidelines
- I have searched the issue tracker for similar issues, and this is not a duplicate.
Submitted on behalf of one of my users - @ayaya@kitsunes.club - after they brought it to my attention.