cheshire137 / competiwatch

Web app to track and visualize your competitive match history in Overwatch.
MIT License
17 stars 4 forks source link

Allow signing in on non-primary, linked account #14

Closed cheshire137 closed 6 years ago

cheshire137 commented 6 years ago

Jamie had this problem: WhiskeySlim is linked to his user + primary account, MrSoftServe. While signed into Battle.net as WhiskeySlim, he was unable to sign into Competiwatch because "That account is already linked to another user." If the user lookup fails in Users::OmniauthCallbacksController, need to look up an OauthAccount and choose the user attached to it.