# Cannot disable 2FA for User

**URL:** https://meta.discourse.org/t/cannot-disable-2fa-for-user/178474
**Category:** Support
**Created:** [February 4, 2021, 10:22pm UTC](https://meta.discourse.org/t/cannot-disable-2fa-for-user/178474 "2021-02-04T22:22:30Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![omarfilip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/omarfilip/32/208019_2.png) [@omarfilip](https://meta.discourse.org/u/omarfilip)
#### Post date: [February 4, 2021, 10:35pm UTC](https://meta.discourse.org/t/cannot-disable-2fa-for-user/178474/2 "2021-02-04T22:35:53Z")

</div>

Try via the rails console:

> [@Disable 2FA via console](https://meta.discourse.org/t/disable-2fa-via-console/148309):
>
> bookmark This guide provides instructions for administrators on how to disable two-factor authentication (2FA) via the console. person_raising_hand Required user level: System Admin wrench Console access required warning This guide should only be used when 2FA cannot be disabled from the user admin page. Discourse supports three types of 2-factor options: TOTP (6-digit codes rotating every 30 seconds), security key (Yubikey, biometric, etc.), and backup codes. Sometimes…

---

_[View the full topic](https://meta.discourse.org/t/cannot-disable-2fa-for-user/178474)._
