# 2fa security key breaks when migrating to custom domain

**URL:** https://meta.discourse.org/t/2fa-security-key-breaks-when-migrating-to-custom-domain/155528
**Category:** Bug
**Created:** [June 22, 2020, 8:11am UTC](https://meta.discourse.org/t/2fa-security-key-breaks-when-migrating-to-custom-domain/155528 "2020-06-22T08:11:36Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![balboah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/balboah/32/184387_2.png) [@balboah](https://meta.discourse.org/u/balboah)
#### Post date: [June 22, 2020, 1:03pm UTC](https://meta.discourse.org/t/2fa-security-key-breaks-when-migrating-to-custom-domain/155528/6 "2020-06-22T13:03:42Z")

</div>

It was solved by support by removing the security keys on my account. Don’t change domain name while having 2fa 🙂  
This should be a kind of common issue as you would change the domain when wanting to upgrade from discourse trial.

Oh and don’t loose access to your e-mail as that’s when you can request to remove security keys 😉

---

_[View the full topic](https://meta.discourse.org/t/2fa-security-key-breaks-when-migrating-to-custom-domain/155528)._
