New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connected accounts : why the data of the first account is deleted and not merged ? #13
Comments
No, it's true, the first account is deleted. Technically it should be possible, but it might interfere with other plugins, for example if they store references of the user accounts being deleted. |
I reopen it (mistake) |
Deleting the account is the safest way to go, but merging would be indeed a good enhancement. Will look into this. |
You say that it might interphere with other plugins : are you thinking about "custom" tables or standard "q2a" tables ? I think it would be great if your plugin allowed this merge too.... |
Hello, ps |
Well, I don't know what to say. I don't think I want to take all the risk this change involves. Here is why. The core code of q2a does have a I understand this functionality might be important for you and your users, so this is why I will be keeping this ticket open and I will try to find a solution. The path I would go would be first to get a |
Instead of modifying the existing account, isn't it possible to attach to it the new account ? |
There's no support for that in Q2A, out-of-the-box. There's no way to link 2 user accounts together (2 entries from qa_users table); it is only possible to link an user account (qa_users) to multiple login methods (qa_user_login), and this is how my plugin works. But when there are 2 separate user accounts (in qa_users table), they count as different entities and all other existing data (posts, comments, etc) make references to them. There's no way to attach one user to another this way, as they are standalone entities. I hope this makes sense. |
Thanks, it would be great to have this feature. |
When I want to connect an account to an existing one, the following message is displayed :
Why do I loose the points, the profile, and everything belonging to the first account ?
Isn't it possible to merge the 2 accounts instead of deleting the first one ? (making his posts as "anonymous" ....)
Isn't it possible to update some qa_tables using the first userid in order to mantain his own data ?
Or is there any issue that I do not see ?
I think it's not correct to delete the first user's data when he just want to have a second way of logging into q2a. It should be possible to mantain his data.
If it's an enhancement request, I vote for it ! :-)
The text was updated successfully, but these errors were encountered: