0
gagan-suie
272d

Random error that was occurring in prod discord authentication for new users (only in prod):

It wasn't returning the discord ID of the user logging in (only in prod). This should not even be possible if the user authenticates. So the null value from the ID was used and returned the first user in the DB (I know, weird mongodb edge cases). It should have returned null for the user searched not the first user in the DB wtfff.

Anyways, new users logging in would be logged in as me. Bahahah

Pushed the fix. All is good in the hood.

Comments
Add Comment