# Two factor auth consistently returns invalid authentication code

**URL:** <https://meta.discourse.org/t/two-factor-auth-consistently-returns-invalid-authentication-code/84979>\
**Category:** Product Support\
**Created:** [10.Апрель.2018 13:53:00 UTC](https://meta.discourse.org/t/two-factor-auth-consistently-returns-invalid-authentication-code/84979 "2018-04-10T13:53:00Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![kirupa](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kirupa/32/374711_2.png) [@kirupa](https://meta.discourse.org/u/kirupa)\
**Post date:** [14.Июнь.2018 04:26:43 UTC](https://meta.discourse.org/t/two-factor-auth-consistently-returns-invalid-authentication-code/84979/11 "2018-06-14T04:26:43Z")

</div>

I am having this same problem on my forums ([https://forum.kirupa.com/](https://forum.kirupa.com/)), and this used to work just fine. I have ensured the time is synchronized correctly as well. I think. Here is my Ubuntu time settings:

Local time: Thu 2018-06-14 00:24:04 EDT  
Universal time: Thu 2018-06-14 04:24:04 UTC  
RTC time: Thu 2018-06-14 04:23:14  
Timezone: America/New\_York (EDT, -0400)  
NTP enabled: yes  
NTP synchronized: yes  
RTC in local TZ: no  
DST active: yes  
Last DST change: DST began at  
Sun 2018-03-11 01:59:59 EST  
Sun 2018-03-11 03:00:00 EDT  
Next DST change: DST ends (the clock jumps one hour backwards) at  
Sun 2018-11-04 01:59:59 EDT  
Sun 2018-11-04 01:00:00 EST

If there isn’t an easy work around, is there any way to disable 2FA on my account via SSH’ing as root?

Thanks,  
Kirupa

---

_[View the full topic](https://meta.discourse.org/t/two-factor-auth-consistently-returns-invalid-authentication-code/84979)._
