# Oops, I lost my phone. How can I OTP now?

**URL:** https://meta.discourse.org/t/oops-i-lost-my-phone-how-can-i-otp-now/143899
**Category:** Support
**Created:** [11 maart 2020 om 11:33 UTC](https://meta.discourse.org/t/oops-i-lost-my-phone-how-can-i-otp-now/143899 "2020-03-11T11:33:05Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [11 maart 2020 om 15:56 UTC](https://meta.discourse.org/t/oops-i-lost-my-phone-how-can-i-otp-now/143899/5 "2020-03-11T15:56:57Z")

</div>

Search “disable 2fa” first result says

> [@How to disable 2FA](https://meta.discourse.org/t/how-to-disable-2fa/131475/11):
>
> The alias changed since we have multiple totps now. Also that command would remove all totp instances across all users… You probably want to do the following as the second command: UserSecondFactor.totps.where(user\_id: id).each(&:destroy!)

So:

```plaintext
./launcher enter app
rails c
id = User.find_by(username: "YOURUSERNAME").id
UserSecondFactor.totps.where(user_id: id).each(&:destroy!)

```

---

_[View the full topic](https://meta.discourse.org/t/oops-i-lost-my-phone-how-can-i-otp-now/143899)._
