# 2FAの回復コードについて？

**URL:** https://meta.discourse.org/t/recovery-codes-for-2fa/89175
**Category:** Feature
**Created:** [2018 年 6 月 5 日午後 1:25 UTC](https://meta.discourse.org/t/recovery-codes-for-2fa/89175 "2018-06-05T13:25:27Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![imrehg](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/imrehg/32/119891_2.png) [@imrehg](https://meta.discourse.org/u/imrehg)
#### Post date: [2018 年 6 月 5 日午後 1:25 UTC](https://meta.discourse.org/t/recovery-codes-for-2fa/89175/1 "2018-06-05T13:25:27Z")

</div>

Hey! The 2FA feature of Discourse is great to have, we are enabling it for all our admins to keep the forums safer. On the other hand, it seems to be missing one commonly used feature, recovery codes (that is a handful of pre-generated codes, that can be used in place of the 2FA token, if the 2FA device is lost - e.g. one’s phone breaks an needs to reinstall).

Is it something that I’ve missed, or is there really no such function yet? If it doesn’t exists, is it in the plans?

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [2018 年 6 月 5 日午後 1:32 UTC](https://meta.discourse.org/t/recovery-codes-for-2fa/89175/2 "2018-06-05T13:32:52Z")

</div>

You haven’t missed anything. That feature doesn’t exist yet and is indeed planned 😉

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2018 年 6 月 5 日午後 6:48 UTC](https://meta.discourse.org/t/recovery-codes-for-2fa/89175/3 "2018-06-05T18:48:38Z")

</div>

Right now you’d need to contact another admin for manual intervention. It is on #releases though for 2.1.

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [2018 年 6 月 8 日午前 6:28 UTC](https://meta.discourse.org/t/recovery-codes-for-2fa/89175/4 "2018-06-08T06:28:02Z")

</div>

> [@2FA Backup codes](https://meta.discourse.org/t/2fa-backup-codes/87038/4):
>
> I’m looking into adding support for 2FA backup codes, this is what I came up so far and I’d really appreciate some feedback. This is very basic flow so far, but hopefully enough to raise some questions/points to consider. In order to enable backup codes, primary method (TOTP) has to be enabled. After enabling backup codes, user gets to copy and store the codes. If user loses backup codes, they have to reset them and get the new set of codes. [Slice%204] Backup code can be used …
