HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Ability to merge 2 users

Anyone know of an easy way to merge 2 users?

Comments

  • R_JR_J Ex-Fanboy Munich Admin

    There's no easy way, as far as I know. But every column which includes a user ID should be named either "UserID" or "SomethingUserID". So if you dump the database structure and search for "UserID", you should be able to find columns which need to be looked at.

  • Yeah I was thinking the same, just find all discussions where their UserID is there and change it.. It's only comments and discussions so it shouldn't be too had.


    User forgot their old account password and the email was old on it. So they started posting under a new account. I got them access now I just want to clean up the other user

  • R_JR_J Ex-Fanboy Munich Admin

    I just found the UserModel->merge() method which might be what you are looking for!

  • nice let me check it out

  • I only had 10 Comments and one discussion so I just change the user ID for each of them.

Sign In or Register to comment.