hotsh / rstat.us

Simple microblogging network based on the ostatus protocol.
http://rstat.us/
Other
722 stars 215 forks source link

Adding Twitter auth to existing account creates a new account if usernames differ. #391

Open nuclearsandwich opened 13 years ago

nuclearsandwich commented 13 years ago

I tried to add Twitter auth to nuclearsandwich@rstat.us and inadvertently created _nuclearsammich@rstat.us since the latter is my handle on Twitter.

Seems like a bug in the authorization code.

Steps to reproduce:

  1. Have an existing username/password rstatus account.
  2. Edit Profile and add Twitter account where your twitter handle != your rstatus handle.
  3. You are logged in via twitter to a new account with no updates, followers, or following.

Specific case http://rstat.us/users/_nuclearsammich (dupe) and http://rstat.us/users/nuclearsandwich (original)

steveklabnik commented 13 years ago

Thanks for the report. Seems like an odd case that we just didn't think of.

nuclearsandwich commented 13 years ago

Perhaps I should change my handle from nuclearsandwich to oDdcaSe, as I seem to be one wherever I go. ;)

Currently I use identi.ca to cross-post down to Twitter and Facebook, I was testing the viability of folding my identi.ca account into RStatus when I did this.

carols10cents commented 13 years ago

I think @bruceadams has hit this as well.

krainboltgreene commented 11 years ago

Did anyone write a test for this to see if it still happens?

wilkie commented 11 years ago

I'm not sure. Thinking about the code, this should not happen. But I'd love a commit of a new test to close this issue. :)