# Hitting enter key after entering password reloads page when managing 2FA

**URL:** https://meta.discourse.org/t/hitting-enter-key-after-entering-password-reloads-page-when-managing-2fa/132193
**Category:** UX
**Created:** [October 29, 2019, 11:46pm UTC](https://meta.discourse.org/t/hitting-enter-key-after-entering-password-reloads-page-when-managing-2fa/132193 "2019-10-29T23:46:46Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![rizka](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rizka/32/79717_2.png) [@rizka](https://meta.discourse.org/u/rizka)
#### Post date: [October 29, 2019, 11:46pm UTC](https://meta.discourse.org/t/hitting-enter-key-after-entering-password-reloads-page-when-managing-2fa/132193/1 "2019-10-29T23:46:46Z")

</div>

I got baffled by something and had to report this. Go to user settings and then Manage Two Factor Authentication.

 ![image](https://global.discourse-cdn.com/meta/original/3X/1/0/10694bc2d415818d50b45fca699149fff046478e.png)

Enter your password, hit the enter key… The page reloads. A typo, try again? Enter. Page reloads.

At this point I opened an incognito window and logged into Meta there, to verify that I hadn’t forgotten my password. No I hadn’t, the password was correct. I went back to the first tab, typed the password carefully character-by-character and then clicked the blue button. And it worked.

After some further testing I can confirm that **hitting the enter key was the problem**. Someone surely should look into this.

(I use Chrome on Windows 10.)

---

<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: [October 30, 2019, 12:03am UTC](https://meta.discourse.org/t/hitting-enter-key-after-entering-password-reloads-page-when-managing-2fa/132193/2 "2019-10-30T00:03:47Z")

</div>

Yes @cvx is working on this, recent regression I think caused by @j.jaffeux refactorings?

---

<div class="post-metadata">

### Author: ![cvx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cvx/32/152146_2.png) [@cvx](https://meta.discourse.org/u/cvx)
#### Post date: [October 30, 2019, 12:20am UTC](https://meta.discourse.org/t/hitting-enter-key-after-entering-password-reloads-page-when-managing-2fa/132193/3 "2019-10-30T00:20:12Z")

</div>

The fix for this is [already done](https://github.com/discourse/discourse/pull/8224/files#diff-789520fd9c583f995dc86a77fb6775b3R143), will be merged in soon! 🙂
