• Resolved 7oceans

    (@7oceans)


    I have enabled Two Factor Authentication via email. When I am putting the authentication code in my wordpress login page the verify button is not clickable. How to solve this problem?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi @7oceans,

    Sounds like you are in the 2FA onboarding when this happens. If you are copy/pasting the code, try and enter the eight digits code manually.

    +++ To prevent any confusion, I’m not SolidWP +++

    • This reply was modified 10 months, 2 weeks ago by nlpro.
    • This reply was modified 10 months, 2 weeks ago by nlpro.
    Thread Starter 7oceans

    (@7oceans)

    Hey

    When I enter the eight digits code manually. Verify button was clickable, but after clicking the verify button its showing error – “404 OOPS! Page you’re looking for doesn’t exist. Please use search for help.” Now I am unable to login into my wordpress admin. WordPress admin page is opening and when I am entering my login credentials 404 error is showing. I deactivated solid security plugin then also the problem is not solved.

    • This reply was modified 10 months, 2 weeks ago by 7oceans.

    Hi @7oceans,

    No need to deactivate the plugin. Just follow the instructions from the FAQ below:

    How Do I Disable All Features If I Can’t Access My Site?

    The “Verify” button attempts a simple POST request to wp-admin/admin-ajax.php. Use the Network tab of your browser Developer tool to investigate why the POST request is not working.

    Is this a new/test WordPress env? If you are having login issues even when the Solid Security plugin is deactivated, then perhaps there is a problem with the WordPress env.

    • This reply was modified 10 months, 2 weeks ago by nlpro.
    • This reply was modified 10 months, 2 weeks ago by nlpro.
    • This reply was modified 10 months, 2 weeks ago by nlpro.
    Thread Starter 7oceans

    (@7oceans)

    Hello,

    I have activated solid security plugin and disabled 2 factor authentication. When I am entering my login credentials?in wordpress admin page wordpress dashboard is not opening instead its showing error – “404 OOPS! Page you’re looking for doesn’t exist. Please use search for help.”

    Through my web hosting I am able to access wordpress dashboard but through admin page I am unable to access it.

    Regards

    Hi @7oceans,

    Is this a new site? Did this work before? Any recent changes other than installing and activating the Solid Security plugin? Can you share the site URL?

    Thread Starter 7oceans

    (@7oceans)

    Hi,

    sorry I can’t disclose the url.

    Regards

    Hi @7oceans,

    Ok, no problem. The 404 on submitting the login page is probably a generic WordPress or environmental issue since the Solid Security 2FA module is now disabled.

    Below a summary of my findings regarding the “Verify” button not being enabled when entering the 2FA email code by right mouse clicking and then selecting Paste from the contextmenu. Turns out there is a “keyup” event tied to the Authentication Code input field, which is not triggered when (right mouse clicking and) selecting Paste from a contextmenu. This is definately a bug in the plugin code. However I found 2 quick workarounds which don’t require manually entering the 8 digit code.

    • Simply copy/paste the 8 digit code by right mouse clicking and then selecting Paste from the contextmenu and then simply press ENTER (or “go” on a mobile device) to submit the form. (Ignore the fact that the “Verify” button is disabled).
    • Use Crtl+v to paste the code, which will trigger the “keyup” event and enable the “Verify” button. Click the button or again simply press ENTER to submit the form.

    @shanedelierrr,

    To fix the 2FA onboarding UI bug as described in this topic the “keyup” event needs to be replaced by an “input” event on line #288 in the core/modules/two-factor/js/on-board.js file. Tested and it works ??

    Thread Starter 7oceans

    (@7oceans)

    Problem not solved. I had to restore my backup. Trying to set solid security once again, this time without enabling 2 Factor Authentication.

    Thread Starter 7oceans

    (@7oceans)

    Hi @nlpro,

    2FA problem is solved.

    Thanks.

    Plugin Support chandelierrr

    (@shanedelierrr)

    Hi @7oceans, we’re thrilled that the 2FA problem is now resolved! I’ll go ahead and mark this ticket resolved. Feel free to open a new support ticket if you need help with Solid Security Basic.

    Hi @nlpro, thank you for sharing your expertise and providing assistance here! I’ve taken notes of your findings regarding the 2FA email code, and I’ll submit this to our dev team for review.

    Cheers!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘2FA via email – verify button is not clickable on the login page’ is closed to new replies.