• Resolved paulmaritz

    (@paulmaritz)


    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 to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter paulmaritz

    (@paulmaritz)

    Thread Starter paulmaritz

    (@paulmaritz)

    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

    (@paulmaritz)

    I make use of WP Rocket as a cache solution on all of my websites.

    • This reply was modified 7 years, 1 month ago by paulmaritz.
    Plugin Author David Anderson

    (@davidanderson)

    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

    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 7 years, 1 month ago by oanhtran1804.
    Plugin Author David Anderson

    (@davidanderson)

    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 https://www.simbahosting.co.uk if you are interested.

    David

    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.