# Rake task for merging users

**URL:** https://meta.discourse.org/t/rake-task-for-merging-users/89086
**Category:** Announcements
**Tags:** new-feature, merge-user
**Created:** [March 1, 2018, 12:56pm UTC](https://meta.discourse.org/t/rake-task-for-merging-users/89086 "2018-03-01T12:56:29Z")
**Posts on this page:** 1
**Showing post:** 54

<div class="post-metadata">

### Author: ![alehandrof](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alehandrof/32/119526_2.png) [@alehandrof](https://meta.discourse.org/u/alehandrof)
#### Post date: [June 2, 2020, 3:08pm UTC](https://meta.discourse.org/t/rake-task-for-merging-users/89086/54 "2020-06-02T15:08:40Z")

</div>

During the merge the new email was added a Secondary Email. I wasn’t quite sure how this might interface with my custom SSO solution. So I removed the secondary email first (following [these steps](https://meta.discourse.org/t/additional-email-address-per-user-account-support/59847/53)), and then followed your suggestion.

Thanks @omarfilip!

---

_[View the full topic](https://meta.discourse.org/t/rake-task-for-merging-users/89086)._
