CodeTriage icon indicating copy to clipboard operation
CodeTriage copied to clipboard

Name Switching Bug

Open ghost opened this issue 11 years ago • 2 comments

I changed my name to DustyGamma. As a result I get doubled results and authentication errors. The double results consist of me getting notifications to pick repositories and then notifications for the respositories I have setup.

Mark as a feature request as I will attempt to delete the duplicates myself.

ghost avatar Dec 25 '14 19:12 ghost

We don't have any code to explicitly handle the case of changing user names. The user API has an "id" which looks like it's unique: https://developer.github.com/v3/users/ we could use this

schneems avatar Dec 25 '14 20:12 schneems

This indicates: http://stackoverflow.com/questions/11976393/get-github-username-by-id that the username is the unique key. The fix could be to check that the id still equals the username, but it might be better just to document it or create a page to switch usernames.

ghost avatar Dec 25 '14 20:12 ghost