• Resolved Avantart

    (@avantart)


    Hi!

    I am using Firefox 66.0.5
    Wordpress is uptodate
    Wordfence is 7.3.1

    I enabled 2FA-Activation in WF and connected that with the Microsoft Authenticator
    all went well

    now when I try to login at https://www.mysite.de/wp-admin, I get the prompt “Code required . Please provide your 2FA-code”

    but I cannot enter that code. There is no way to enter the digits. Cursor is placed in the username-field

    somewhere I saw the suggestion to add this code directly after the password, but that does not work either

    what to do? I could not log in and had to disable Wordfence completely

Viewing 2 replies - 16 through 17 (of 17 total)
  • @rishabh811 that actually worked..thank you!

    @rishabh811 indeed, your answer has saved me when I had a conflict with mixed HTTP/HTTPS content, where WordPress failed to load JS and CSS — making the backoffice login impossible when using 2FA.

    However, when similar things happened in the past to me, I knew that the WP login will work, even without JS and CSS (aye, WP is ‘old enough’ to have had pre-JS/CSS support — and you could login to it with a text-based browser! Very useful in an emergency if all you’ve got is a text console…).

    The problem was how to get around 2FA. Well, it seems that a ‘common’ solution is the one you’ve described: just add the pin code after the password. This seems to be a somewhat standard feature on most technologies using 2FA, and I’m really glad that Wordfence respects this ‘standard’ fully!

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘No way to enter 2FA-code when trying to log-in’ is closed to new replies.