Is there a way to merge accounts?

I have a discuorse forum, or rather I am staff of one and I have a Twitter account I no longer use as my login method. Is there a way to change the Twitter account, or merge the account with another, maybe local account?

https://meta.discourse.org/t/ability-to-merge-users/9220

Nothing yet that I see, would be good to be able to at least bulk change ownership of posts / topics like mentioned in that topic. So far there isn’t an easy way to do this that I see.

This gist might be something that will help with what you want to achieve.

Can you show me how to use that script

I am in the same situation as you. :weary: :sweat_smile:
I will be watching that gist to see if the author replies.

Now I know how to use that script. Just copy it to app/lib
Open rails console and type the last line of that gist (change username)

Yes, we have a rake task now

现在也可以通过用户界面完成此操作。

:warning: 将大型账户与其他大型账户合并可能会消耗大量的数据库和服务器时间。但如果是合并两个小型账户,或将一个大型账户与一个小型账户合并,则通常不会出现问题。

在合并用户账户时,徽章和成就也会一并转移吗?还是只会转移帖子、点赞和消息?

我刚刚合并了几个测试用户,徽章、站点设置、统计信息等已从一个用户复制到另一个用户。:+1:

谢谢!我成功地为一名用户合并了两个账户,徽章也已转移,这是一个很棒的功能。