# Turn off two factor authentication

**URL:** https://meta.discourse.org/t/turn-off-two-factor-authentication/156724
**Category:** Support
**Created:** [July 3, 2020, 7:39pm UTC](https://meta.discourse.org/t/turn-off-two-factor-authentication/156724 "2020-07-03T19:39:03Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![hosna](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hosna/32/99969_2.png) [@hosna](https://meta.discourse.org/u/hosna)
#### Post date: [July 3, 2020, 7:39pm UTC](https://meta.discourse.org/t/turn-off-two-factor-authentication/156724/1 "2020-07-03T19:39:03Z")

</div>

How can an admin turn off two factor authentication for a user?

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [July 3, 2020, 7:42pm UTC](https://meta.discourse.org/t/turn-off-two-factor-authentication/156724/2 "2020-07-03T19:42:23Z")

</div>

Navigate to the admin page for the user and click Disable.

 ![image](https://global.discourse-cdn.com/meta/original/3X/8/9/896a38998c8c0ea8f954f77e138a49d0fc642ae6.png)

If you prefer, you can also do it from the rails console: [Disable 2FA via console](https://meta.discourse.org/t/disable-2fa-via-console/148309)

---

<div class="post-metadata">

### Author: ![hosna](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hosna/32/99969_2.png) [@hosna](https://meta.discourse.org/u/hosna)
#### Post date: [July 3, 2020, 7:43pm UTC](https://meta.discourse.org/t/turn-off-two-factor-authentication/156724/3 "2020-07-03T19:43:55Z")

</div>

It gives me the following error:

 ![image](https://global.discourse-cdn.com/meta/original/3X/d/6/d669c6671554538fea8a1b0064b6e8b50be4901c.png)

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [July 3, 2020, 7:45pm UTC](https://meta.discourse.org/t/turn-off-two-factor-authentication/156724/4 "2020-07-03T19:45:38Z")

</div>

You’ll need to use the console then, or wait for [this fix](https://github.com/discourse/discourse/pull/10144) to finish going through review and update your site.

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [July 8, 2020, 12:10pm UTC](https://meta.discourse.org/t/turn-off-two-factor-authentication/156724/5 "2020-07-08T12:10:54Z")

</div>

The fix has been merged. You’ll need to ensure your site is up to date via `/admin/upgrade`, then Disable 2FA.

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [July 11, 2020, 12:11pm UTC](https://meta.discourse.org/t/turn-off-two-factor-authentication/156724/6 "2020-07-11T12:11:02Z")

</div>

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
