Description
After enabling Two-Factor Authentication (2FA) via Wordfence, the [members_login_form] shortcode provided by the Members plugin no longer functions correctly. Users attempting to log in via this form receive an error stating “Invalid username or password” despite entering the correct credentials. This issue does not occur on the default WordPress login page (/wp-login.php), where Wordfence 2FA functions as expected.
Steps to Reproduce
- Install and activate the Members plugin.
- Create a login page using the [members_login_form] shortcode.
- Enable Wordfence and configure 2FA for user accounts.
- Attempt to log in using the custom login page.
- Observe the error message: “Invalid username or password.”
Expected Behavior
Users should be prompted for 2FA verification or successfully logged in after submitting correct credentials via the Members login form.
Actual Behavior
Users are incorrectly denied access with an invalid credentials message.
Hosting Environment
No response
Payment Gateway (if applicable)
None
Transaction ID (if applicable)
No response
API, Server, or Error Logs (if applicable)
Screenshots or Videos
Support Ticket Link
https://wordpress.org/support/topic/wordfence-2fa-issue/
Additional Information
No response
Site Health Check Report
Description
After enabling Two-Factor Authentication (2FA) via Wordfence, the [members_login_form] shortcode provided by the Members plugin no longer functions correctly. Users attempting to log in via this form receive an error stating “Invalid username or password” despite entering the correct credentials. This issue does not occur on the default WordPress login page (/wp-login.php), where Wordfence 2FA functions as expected.
Steps to Reproduce
Expected Behavior
Users should be prompted for 2FA verification or successfully logged in after submitting correct credentials via the Members login form.
Actual Behavior
Users are incorrectly denied access with an invalid credentials message.
Hosting Environment
No response
Payment Gateway (if applicable)
None
Transaction ID (if applicable)
No response
API, Server, or Error Logs (if applicable)
Screenshots or Videos
Support Ticket Link
https://wordpress.org/support/topic/wordfence-2fa-issue/
Additional Information
No response
Site Health Check Report