# 2FA Login Page Refresh

**URL:** <https://help.nextcloud.com/t/2fa-login-page-refresh/2740>\
**Category:** ℹ️ Support\
**Created:** [August 29, 2016, 7:52am UTC](https://help.nextcloud.com/t/2fa-login-page-refresh/2740 "2016-08-29T07:52:54Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![dcrdev](https://help.nextcloud.com/letter_avatar/dcrdev/32/6_449c533f586939b6e5f246632a46421f.png) [@dcrdev](https://help.nextcloud.com/u/dcrdev)\
**Post date:** [August 29, 2016, 7:52am UTC](https://help.nextcloud.com/t/2fa-login-page-refresh/2740/1 "2016-08-29T07:52:54Z")

</div>

I’m experiencing a potential issue with two factor authentication. On the second stage of the login screen the browser will automatically refresh every 5 seconds; I have timed this and it is literally 5 seconds.

I’m not sure if it’s just me or whether this is intended behavior, however this will be quite challenging for users who don’t type particularly fast and/or have long passwords.

---

<div class="post-metadata">

**Author:** ![budy](https://help.nextcloud.com/user_avatar/help.nextcloud.com/budy/32/697_2.png) [@budy](https://help.nextcloud.com/u/budy)\
**Post date:** [August 29, 2016, 8:37am UTC](https://help.nextcloud.com/t/2fa-login-page-refresh/2740/2 "2016-08-29T08:37:53Z")

</div>

Yeah - this should be addresses soon. I really had a hard time, when I tried to login into my account, when I was on a low bandwidth connection and I wasn’t able to type in the needed code, before the login screen refreshed. I got in eventually, but it took some time and really way cumbersome.

So… I second that. However, maybe an issue on github should be raised for that. I will take a look at the apps guthub page, maybe there’s already an issue open for this.

Ahh… see here… [Issue 29 TOTP](https://github.com/ChristophWurst/twofactor_totp/issues/29)

Seems, that this was a bug in the ownCloud core/nextcloud server and it should have been fixed in NC10, although I must say, that this issue still shows up in my NC10 installation.

---

<div class="post-metadata">

**Author:** ![dcrdev](https://help.nextcloud.com/letter_avatar/dcrdev/32/6_449c533f586939b6e5f246632a46421f.png) [@dcrdev](https://help.nextcloud.com/u/dcrdev)\
**Post date:** [August 29, 2016, 8:45am UTC](https://help.nextcloud.com/t/2fa-login-page-refresh/2740/3 "2016-08-29T08:45:35Z")

</div>

Yeah I’m on NC10 too.

---

<div class="post-metadata">

**Author:** ![budy](https://help.nextcloud.com/user_avatar/help.nextcloud.com/budy/32/697_2.png) [@budy](https://help.nextcloud.com/u/budy)\
**Post date:** [August 29, 2016, 9:14am UTC](https://help.nextcloud.com/t/2fa-login-page-refresh/2740/4 "2016-08-29T09:14:34Z")

</div>

You’ll have to install the latest daily build - an older may work as well. I didn’t pay attention to when exactly the patch made it into NC10, but the last daily build will solve your issue. I just tried that and no there’s no more refresh in the TOTP page. 🙂

---

<div class="post-metadata">

**Author:** ![nickvergessen](https://help.nextcloud.com/user_avatar/help.nextcloud.com/nickvergessen/32/66965_2.png) [@nickvergessen](https://help.nextcloud.com/u/nickvergessen)\
**Post date:** [August 29, 2016, 10:06am UTC](https://help.nextcloud.com/t/2fa-login-page-refresh/2740/5 "2016-08-29T10:06:05Z")

</div>

The fix is [https://github.com/nextcloud/server/pull/1104/files](https://github.com/nextcloud/server/pull/1104/files)

Feel free to remove the red code part in `lib/private/AppFramework/Http/Request.php` manually.

---

<div class="post-metadata">

**Author:** ![dcrdev](https://help.nextcloud.com/letter_avatar/dcrdev/32/6_449c533f586939b6e5f246632a46421f.png) [@dcrdev](https://help.nextcloud.com/u/dcrdev)\
**Post date:** [August 29, 2016, 10:34am UTC](https://help.nextcloud.com/t/2fa-login-page-refresh/2740/6 "2016-08-29T10:34:02Z")

</div>

Thanks for that - all working perfectly now!

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [November 6, 2024, 8:56pm UTC](https://help.nextcloud.com/t/2fa-login-page-refresh/2740/7 "2024-11-06T20:56:07Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 4, 2024, 3:33pm UTC](https://help.nextcloud.com/t/2fa-login-page-refresh/2740/8 "2024-12-04T15:33:36Z")

</div>


