# Two Factor local login proposal

**URL:** <https://meta.discourse.org/t/two-factor-local-login-proposal/76689>\
**Category:** Feature\
**Created:** [2017 年 12 月 24 日午前 7:17 UTC](https://meta.discourse.org/t/two-factor-local-login-proposal/76689 "2017-12-24T07:17:59Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2018 年 1 月 8 日午前 2:03 UTC](https://meta.discourse.org/t/two-factor-local-login-proposal/76689/13 "2018-01-08T02:03:45Z")

</div>

I think that as long as we defer the 2fa to the latest point in time we can be fine.

So:

1. click “send password reset email”
2. User clicks on email
3. User confirms 2fa
4. User changes password

My issue is that I want the 2fa always performed just before the actual database write.

A change password link for example can be opened on any browser and from any IP. I think it is important to defer the security to the last moment to reduce surface area.

---

_[View the full topic](https://meta.discourse.org/t/two-factor-local-login-proposal/76689)._
