• Resolved mcoyle76

    (@mcoyle76)


    When I put in the 2fa code from Google authenticator and click on active I get an error message that says “the code provided does not match the expected value. Please verify that the time on your authentication device is correct and that the this server’s time is correct.”

    I checked the time under tools > diagnostics and it shows under time that the network time and server time are dead on with the time. My device is set to mountain time as well as the site, as I look at my device time and it’s the exact time that WordFence has and I still get this error message when I type in the code and click on active.

    Any ideas?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @mcoyle76, thanks for getting in touch.

    If your time settings match, I would attempt to reset 2FA from scratch as the 6-digit code needs to match again at the time of activation. There is a chance that something has changed on your server since it was originally set up, but this should confirm whether everything is now synchronizing properly across devices.

    Follow these steps:  

    • Please use FTP/SFTP — or any file manager your web host provides via their administration panel.
    • Look inside the /wp-content/plugins/ directory and rename the wordfence directory to wordfence.bak. This will deactivate Wordfence and allow you to login without the 2FA code.
    • Once you have logged in to your WordPress admin you can name the folder back to wordfence again.
    • Go to your user profile and add 2FA back to your account, making sure to download the new backup codes in case of other problems in the future.

    Does this now log you in or does it pass at the time of activation and once again fail when you try to log in for real?

    Thanks,
    Peter.

    Thread Starter mcoyle76

    (@mcoyle76)

    The issue is not a login issue to the site from the admin login. The issue is it will not allow me to activate 2fa after it was installed due to the error message I got. So basically it has never been activated yet as it won’t let me active it.

    Thread Starter mcoyle76

    (@mcoyle76)

    I got it to activate I just uninstalled the plugin, and reinstalled it, and setup 2fa right away and it worked.

    Plugin Support wfpeter

    (@wfpeter)

    My apologies for the misunderstanding @mcoyle76, I believed a previously configured 2FA had stopped matching the codes on your device. Thank-you for the update and I’m pleased a reinstall worked for you!

    Peter.

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

The topic ‘2FA will not active’ is closed to new replies.