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.