inciteco / tug-of-war

0 stars 0 forks source link

When using a previously entered e-mail, new user gets name and avatar of previous user #25

Open inciteco opened 7 years ago

inciteco commented 7 years ago

This happens across devices and clearing cache doesn't fix it. It seems to be pulling that info from the database? This is probably why people still get placeholder.com avatars.

aaronbuchanan commented 7 years ago

yep this is totally possible.

I actually did this on purpose, because I thought it might be nice to have a sticky random avatar? Also, I don't set the name if an account already existed because it's an extra API call to firebase but no big deal really, I can force it to refresh during every login if you prefer?

inciteco commented 7 years ago

@aaronbuchanan There are some trolling concerns so the consensus is to just have it refresh every time.

aaronbuchanan commented 7 years ago

fixed!

inciteco commented 7 years ago

Two reports of this still occuring.

aaronbuchanan commented 7 years ago

you able to recreate? possible it's a caching issue?

inciteco commented 7 years ago

It's hard to find a pattern, sometimes it seems it's fixed, but I just recreated it using hhh@gmail.com. Logged in as Bill B. with hhh@gmail.com, logged out, logged in as Jon J. with same email and I got Bill B. as my name.