dddeastanglia / DDDEastAnglia

DDD East Anglia website
https://www.dddeastanglia.com
7 stars 10 forks source link

Logging in with a social login linked with another account does not link the two accounts #76

Open alastairs opened 11 years ago

alastairs commented 11 years ago

Repro

  1. Log into the DDD EA site with a social login (e.g., GitHub), and register an account with DDD EA.
  2. Log off.
  3. Log into the DDD EA site with a different social login (e.g., Twitter), and register a second account with DDD EA.
  4. Go to the Manage Logins page, and click the button for the first social login (i.e., GitHub).

Expected

Actual

alastairs commented 11 years ago

I'm starting to wonder if this is even desirable behaviour: any fix we put in will surely open the door to account hijack exploits.

Perhaps the fix is provide a "delete account" option, or perhaps a way of requesting the combination of two accounts so that we can do it ourselves. That would make this a piece of functionality for the admin area rather than for our users.

alastairs commented 11 years ago

This basically disappears if we hide the login functionality for everything but those things that require it (I.e. session submission).