Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
2.7k views
in Plugins by
Hi,

After I've setup my installation of Q2A I've got myself an admin user named 'atrandafir'. Then, I have installed Facebook Login Plugin and I've gave it a try. So now I've got another user for myself that logs in using Facebook.

I just want to use one user, not both, but the first one does not have Facebook Login, and the second one has it but it is not an admin.

Is there a way I can unlink Facebook Login from one user and link it to another?

Thanks.
Q2A version: 1.4.3

1 Answer

+1 vote
by
selected by
 
Best answer

You can hack this in the qa_userlogins table - just change the userid for the row which matches your Facebook user ID.

by
Thank you I will give it a try.
by
This did not work for me.  I can't find a qa_userlogins table.  I have 1.5 installed.  I'm also tied into Wordpress' login.  Is that part of the issue?
by
If you're integrated with WP logins, it's not a Q2A issue, so you need to check into whatever system WP is using to connect with Facebook IDs.
by
Thanks gidgreen.  Yes, I ended up getting rid of the facebook login through q2a and integrating with one of the WP facebook plugins.  That seemed like a good solution for me.  I have doubts about whether using the WP login is better though since Q2A makes it easy to register, but I guess it's what we're doing at the moment.
...