10375 Posts in 2190 Topics by 1707 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 707 Views |
-
facebookconnect :: adding facebook account to existing account

26 July 2011 at 11:03am
Hi,
I've got a the facebookconnect plugin - and the memberprofiles module set up - both work fine.
however, I about 2000 users who set up their accounts before I added facebookconnect.
It would be awesome if they could log in, and 'add' facebook connect to their existing account, so that from then onwards, they can log in to the same account either using their SS login, or their facebook login...
any suggestions on where to start?
-
Re: facebookconnect :: adding facebook account to existing account

26 July 2011 at 11:28pm
I think the module should work fine retroactively. One issue will be if the email of their Facebook != email they used to login to SS then you would perhaps need some smart account merging ability. It's a pretty simple module, the main part you would need to test is the onBeforeInit logic - https://github.com/willrossi/silverstripe-facebookconnect/blob/master/code/FacebookConnect.php#L209 as that handles all the connection between the SS data model and Facebook.
| 707 Views | ||
|
Page:
1
|
Go to Top |


