• Resolved Dekadinious

    (@dekadinious)


    I have problems with 2FA and I can’t log in to my WordPress installation. I am able to input the 2FA code, and then one of three things happen:

    1. Nothing is happening after clicking ENTER or log in
    2. It says the code is invalid, even though it is not
    3. It says the code could not be validated

    I am locked out of my site.

Viewing 3 replies - 1 through 3 (of 3 total)
  • WFGerroald

    (@wfgerald)

    Hey @dekadinious,

    Thanks for reporting this.

    The fastest way back into your site would be to use ftp/sftp to access the web server, rename the wordfence folder in wp-content/plugins, then log in. Renaming a plugin folder immediately deactivates the plugin. Once you access the site you can rename the wordfence folder again and then activate the plugin, and then figure out what happened.

    Can you please make sure your server/site and device times are in sync? The app-based TOTP method is time sensitive.

    Can you also look for and share any errors you might see in the browser console?

    https://www.wordfence.com/help/advanced/troubleshooting/#how-to-inspect-the-browser-console

    Thanks,

    Gerroald

    Thread Starter Dekadinious

    (@dekadinious)

    Thank you for your suggestions.

    I have been able to trace the problem to the plugin Google Analytics Dashboard for WP (GADWP) by ExactMetrics. With that plugin enabled, I get a “ga is not defined” error on the 2FA-page. That “blocks” the login button it seems. Hitting it twice makes it fire, but then it has fired twice which triggers an error. Deactivating the plugin makes the login work.

    I will contact ExactMetrics to make them fix it.

    Hey @dekadinious,

    My apologies for the delayed response.

    Thanks for sharing this! This is really helpful, and I’ve shared it with the team.

    Please let us know if anything else comes up.

    Thanks,

    Gerroald

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

The topic ‘2FA never letting me through’ is closed to new replies.