Title: Error Activating 2FA
Last modified: May 14, 2019

---

# Error Activating 2FA

 *  Resolved [vipini](https://wordpress.org/support/users/vipini/)
 * (@vipini)
 * [7 years ago](https://wordpress.org/support/topic/error-activating-2fa/)
 * Error Activating 2FA
    The code provided does not match the expected value. Please
   verify that the time on your authenticator device is correct and that this server’s
   time is correct.
 * pls help

Viewing 15 replies - 1 through 15 (of 26 total)

1 [2](https://wordpress.org/support/topic/error-activating-2fa/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/error-activating-2fa/page/2/?output_format=md)

 *  [WFGerroald](https://wordpress.org/support/users/wfgerald/)
 * (@wfgerald)
 * [7 years ago](https://wordpress.org/support/topic/error-activating-2fa/#post-11531789)
 * Hey [@vipini](https://wordpress.org/support/users/vipini/),
 * The TOTP two-factor method is time sensitive. Can you please make sure your server/
   site time is in sync with your device? You can check your server/site time by
   navigating to WordPress Dashboard > Settings > General and checking your `Local
   time`.
 * Please let me know what you find.
 * Thanks,
 * Gerroald
 *  [gjefle](https://wordpress.org/support/users/gjefle/)
 * (@gjefle)
 * [7 years ago](https://wordpress.org/support/topic/error-activating-2fa/#post-11531873)
 * I’m running into the same problem. Time is definitely correct – set to New York
   and I’m here on the east coast in Delaware. Put in the new code I get on phone
   immediately and still get that same error message as Vipini
 *  [gjefle](https://wordpress.org/support/users/gjefle/)
 * (@gjefle)
 * [7 years ago](https://wordpress.org/support/topic/error-activating-2fa/#post-11531878)
 * BTW, I tried disabling all my plugins but that did not make a diff.
 *  [dloprodz](https://wordpress.org/support/users/dloprodz/)
 * (@dloprodz)
 * [7 years ago](https://wordpress.org/support/topic/error-activating-2fa/#post-11532045)
 * Same issue here.
 * Checked the server time from the shell, checked the PHP.ini time, general settings
   on WordPress. All say the correct time except for the 2fa activation screen which
   displays UTC as my server time.
 *  [jameshurrell](https://wordpress.org/support/users/jameshurrell/)
 * (@jameshurrell)
 * [7 years ago](https://wordpress.org/support/topic/error-activating-2fa/#post-11532665)
 * Yep same here in the UK. I have access to the back end cpanel server and this
   is set correctly to my local time. WordPress general settings are also set correctly
   to local time. Wordfence thinks it’s an hour earlier however (UTC)….
 * Seems it’s a general issue, there are other posts like this… Maybe an issue with
   the new version? i’m using the free version (7.3.1) that just introduced 2FA.
    -  This reply was modified 7 years ago by [jameshurrell](https://wordpress.org/support/users/jameshurrell/).
 *  [WFGerroald](https://wordpress.org/support/users/wfgerald/)
 * (@wfgerald)
 * [7 years ago](https://wordpress.org/support/topic/error-activating-2fa/#post-11536072)
 * Hey All,
 * Thanks for the updates and sharing the extra information.
 * Can you please check Wordfence > Login Security for the current time being reported?
   It’s located at the bottom left side of the page as `Server Time:`. The time 
   shown there is what your server is reporting as the current UTC time.
 * Please let me know.
 * Thanks,
 * Gerroald
 *  [gjefle](https://wordpress.org/support/users/gjefle/)
 * (@gjefle)
 * [7 years ago](https://wordpress.org/support/topic/error-activating-2fa/#post-11538749)
 * For me, Wordfence has Server Time: 2019-05-16 13:11:44 but actual time is 9:11am,
   and that is what WordPress is correctly displaying in the general settings.
 *  [jameshurrell](https://wordpress.org/support/users/jameshurrell/)
 * (@jameshurrell)
 * [7 years ago](https://wordpress.org/support/topic/error-activating-2fa/#post-11539504)
 * See similar thread here: [https://wordpress.org/support/topic/2fa-server-time-error/](https://wordpress.org/support/topic/2fa-server-time-error/)
 *  Thread Starter [vipini](https://wordpress.org/support/users/vipini/)
 * (@vipini)
 * [7 years ago](https://wordpress.org/support/topic/error-activating-2fa/#post-11540484)
 * so any fix yet?
 *  [dloprodz](https://wordpress.org/support/users/dloprodz/)
 * (@dloprodz)
 * [7 years ago](https://wordpress.org/support/topic/error-activating-2fa/#post-11540656)
 * Update to version 7.3.2 rolled out earlier but still no fix to the server time
   issue.
    -  This reply was modified 7 years ago by [dloprodz](https://wordpress.org/support/users/dloprodz/).
 *  [Rico](https://wordpress.org/support/users/nrosa/)
 * (@nrosa)
 * [7 years ago](https://wordpress.org/support/topic/error-activating-2fa/#post-11582830)
 * Can we have any news on this issue ?
 * We have the same one there, the “Server Time” matches hosts time and the UTC 
   time.
 * Server Time: 2019-05-29 07:16:16
    Corrected Time: 2019-05-29 07:20:00
 * Thanks,
 *  [gjefle](https://wordpress.org/support/users/gjefle/)
 * (@gjefle)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/error-activating-2fa/#post-11589381)
 * Same here. Wordfence guys – any chance of correcting this?
 *  [jameshurrell](https://wordpress.org/support/users/jameshurrell/)
 * (@jameshurrell)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/error-activating-2fa/#post-11623074)
 * Still the same issue. No resolution yet.
 *  [jameshurrell](https://wordpress.org/support/users/jameshurrell/)
 * (@jameshurrell)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/error-activating-2fa/#post-11629215)
 * I’m pleased to report that I’ve now managed to successfully activate 2FA with
   my wordpress sites! WordFence has updated to v 7.3.3 overnight and the Server
   Time display is now different, meaning 2FA now works! Hooray, thank you WordFence!
   Screenshot below:
 * > [View post on imgur.com](https://imgur.com/ob90bSf)
 *  Plugin Support [wfscott](https://wordpress.org/support/users/wfscott/)
 * (@wfscott)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/error-activating-2fa/#post-11694311)
 * [@vipini](https://wordpress.org/support/users/vipini/)
 * Over the last few updates we’ve included more time information (Wordfence > Login
   Security as well as Wordfence > Tools > Diagnostics > Time). Please let us know
   what you’re seeing there if you’re having continuing issues. If you are still
   having issues with time offset however, reaching out to your provider and having
   the time offset corrected if they are able to do so is the best way forward.
 * Scott

Viewing 15 replies - 1 through 15 (of 26 total)

1 [2](https://wordpress.org/support/topic/error-activating-2fa/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/error-activating-2fa/page/2/?output_format=md)

The topic ‘Error Activating 2FA’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

## Tags

 * [2fa](https://wordpress.org/support/topic-tag/2fa/)
 * [timezones](https://wordpress.org/support/topic-tag/timezones/)

 * 26 replies
 * 7 participants
 * Last reply from: [asen85](https://wordpress.org/support/users/asen85/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/error-activating-2fa/page/2/#post-13173494)
 * Status: resolved