Title: One-Time Password Incorrect
Last modified: October 9, 2017

---

# One-Time Password Incorrect

 *  Resolved [paulmaritz](https://wordpress.org/support/users/paulmaritz/)
 * (@paulmaritz)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/one-time-password-incorrect/)
 * Hi,
 * I get a “Error: The one-time password (TFA code) you entered was incorrect” before
   even having the opportunity to insert the code. I had to disable the plugin to
   get into my site.
 * Best Regards
 * Paul
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fone-time-password-incorrect%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Thread Starter [paulmaritz](https://wordpress.org/support/users/paulmaritz/)
 * (@paulmaritz)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/one-time-password-incorrect/#post-9568862)
 * [https://wordpress.org/support/topic/error-the-one-time-password-tfa-code-you-entered-was-incorrect-3/](https://wordpress.org/support/topic/error-the-one-time-password-tfa-code-you-entered-was-incorrect-3/)
 *  Thread Starter [paulmaritz](https://wordpress.org/support/users/paulmaritz/)
 * (@paulmaritz)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/one-time-password-incorrect/#post-9568993)
 * Hi,
 * Please can you confirm what version of the plugin you have?
 * Also, which login screen is this? The default WP one, or one coming from another
   plugin?
 * Do you have a cacheing plugin that is cacheing the login page? Do you get the
   same if you clear all caches and try a fresh web browser?
 * Are you currently logged in, or not? (i.e. Visiting the login page whilst already
   logged in)?
 * David
 * ————————————————————————-
 * The problem seems to be exclusive to Google Chrome and only certain of my sites
   that use your 2Fa solution are affected. Clearing the caches didn’t work.
 *  Thread Starter [paulmaritz](https://wordpress.org/support/users/paulmaritz/)
 * (@paulmaritz)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/one-time-password-incorrect/#post-9568996)
 * I make use of WP Rocket as a cache solution on all of my websites.
    -  This reply was modified 8 years, 7 months ago by [paulmaritz](https://wordpress.org/support/users/paulmaritz/).
 *  Plugin Author [David Anderson / Team Updraft](https://wordpress.org/support/users/davidanderson/)
 * (@davidanderson)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/one-time-password-incorrect/#post-9569035)
 * Hi,
 * From the description, it sounds like there’s a JavaScript error on the page. 
   Our plugin pops up the TFA request using JavaScript. But if some other component(
   plugin, theme or browser extension) has already broken JavaScript execution, 
   then it won’t appear. So, try de-activating things and reloading the plugin page
   and re-trying, until you identify the culprit. (Or, looking in the browser developer
   console may identify it).
 * David
 *  [oanhtran1804](https://wordpress.org/support/users/oanhtran1804/)
 * (@oanhtran1804)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/one-time-password-incorrect/#post-9590979)
 * Hi, i also got issue with one time password
 * Step1: I create custom style login as bellow:
    ==============================
   =========== function custom_logo() { ?> <style type=”text/css”>
 *  body {background: #34566f !important;}
 *  .login #nav a, .login #backtoblog a, .login label {
    color: #f3f3f3 !important;}.
   wp-core-ui .button-primary { background: #31b36b !important; border: none !important;
   text-shadow: none !important; box-shadow: none !important; } .login form { box-
   shadow: none !important; background: transparent !important; } #login h1 a { 
   background-image: url(<?php echo plugins_url(‘images/logo.png’, __FILE__); ?>);
   background-size: 280px 80px; width: 280px; height: 80px; } </style> <?php } add_action(‘
   login_enqueue_scripts’, ‘custom_logo’);
 * Step 2: Enter the correct username + password. SUBMIT
    Step 3: It appear message
   that one time code that i enter is incorrect ==> Issue, your plugin did NOT appear
   input box for me enter the one time code at all.
 * TRY TO FIX:
    1) Deactive your plugin. Step 2. i success login as well 2) Remove
   code custom login style, Step 2+ step 3, appear box enter one time code. Enter
   code, success login ======= SUMARY my custom code is simple, nothing wrong. Why
   your plugin did not work? How to fix this please. Thanks
    -  This reply was modified 8 years, 7 months ago by [oanhtran1804](https://wordpress.org/support/users/oanhtran1804/).
 *  Plugin Author [David Anderson / Team Updraft](https://wordpress.org/support/users/davidanderson/)
 * (@davidanderson)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/one-time-password-incorrect/#post-9591540)
 * You’re saying that it all works correctly without the customised code, but not
   with it? That does indicate that something’s up with the customised code.
 * Someone else may be able to help you but I (the plugin author) am insanely busy
   this week and my ADSL line is out so I am on mobile Internet which is significantly
   inferior. I’d only be able to take a look at a customised job as a commercial
   job, for which you should use the contact form at [http://www.simbahosting.co.uk](http://www.simbahosting.co.uk)
   if you are interested.
 * David
 *  [oanhtran1804](https://wordpress.org/support/users/oanhtran1804/)
 * (@oanhtran1804)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/one-time-password-incorrect/#post-9591855)
 * It should be something of your plugin, not my code. Because my code just simple
   call action css, have you see the full code. only 1 line php.
 * add_action(‘login_enqueue_scripts’, ‘custom_logo’);
 * So their is some wrong of your plugin in somewhere. when someone change style
   of login.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘One-Time Password Incorrect’ is closed to new replies.

 * ![](https://ps.w.org/two-factor-authentication/assets/icon-256x256.png?rev=1116775)
 * [Two Factor Authentication](https://wordpress.org/plugins/two-factor-authentication/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/two-factor-authentication/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/two-factor-authentication/)
 * [Active Topics](https://wordpress.org/support/plugin/two-factor-authentication/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/two-factor-authentication/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/two-factor-authentication/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [oanhtran1804](https://wordpress.org/support/users/oanhtran1804/)
 * Last activity: [8 years, 7 months ago](https://wordpress.org/support/topic/one-time-password-incorrect/#post-9591855)
 * Status: resolved