• Resolved Marin Marinov

    (@mpmarinov)


    Hello, I have a question about the 2FA code for authentication. Can it be added to the login form in the frontend so that users are not constantly redirected to the wp-admin page?

    How can i setup the shortcode on userpage. I trying but i can”t see someting.

    Thank you.

Viewing 1 replies (of 1 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @mpmarinov,

    The shortcode we provide is for adding the panel for configuring 2FA to a custom profile page if your users aren’t accessing the profile.php page included with WordPress for account administration. The default WordPress and WooCommerce login pages are the only official support we offer for reCAPTCHA and 2FA when logging in.

    We’re unable to directly assist or troubleshoot anybody’s custom code, but we have some instructions that we make plugin developers aware of to improve compatibility with Wordfence’s Login Security features. Implementations that disrupt the normal login flow or submit different form fields to the expected WordPress/WooCommerce defaults may fail.

    The loginLocator and registrationLocator variables in modules/login-security/js/login.[timestamp].js hold the specific classes/IDs of elements Wordfence looks for with reCAPTCHA and 2FA for usernames, passwords, and registration email addresses in case that would help you find a solution.

    Many thanks,
    Peter.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.