Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

[Support request] Login with reCaptcha enabled fails after entering 2FA code

Simple Membership Plugin › Forums › Simple Membership Plugin › Login with reCaptcha enabled fails after entering 2FA code

Tagged: 2fa, login, recaptcha

  • This topic has 3 replies, 3 voices, and was last updated 5 years, 9 months ago by The Assurer.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • September 20, 2020 at 8:11 pm #20925
    Geert De Vylder
    Participant

    Hi,

    I have the latest version (5.5.1) of WordPress installed and the latest versions of the following SWPM plugins:

    • Simple WordPress Membership
    • Simple Membership After Login Redirection
    • Simple Membership Custom Messages
    • Simple Membership Google recaptcha
    • SWPM Full Page Protection
    • SWPM Two-Factor Authentication

    This in combination with WP Super Cache.
    All settings have been set according to all the documentation on your website.
    The reCaptcha V2 is enabled on the login and the password reset forms.
    When a user wants to login, he enters the username and password and ticks the reCaptcha to validate and clicks on the login button. The page is refreshed to display the 2FA form. After entering the 2FA code, received by email, and clicking the button Continue the login fails. The page returns to the login page with the error message “Captcha validation failed on login form”.
    The debug log file states the following:

    [2020/09/20 21:57:26] - SUCCESS: Authentication request - Username: XXXXXX
    [2020/09/20 21:57:26] - SUCCESS: Authentication successful for username: XXXXXX. Executing swpm_login action hook.
    [2020/09/20 21:57:26] - SUCCESS: Trying wp_signon() with username: XXXXXX
    [2020/09/20 21:57:26] - SUCCESS: wp_authenticate action. User with username: XXXXXX is already logged in.
    [2020/09/20 21:57:26] - SUCCESS: wp_login hook triggered. Username: XXXXXX
    [2020/09/20 21:57:26] - SUCCESS: Setting current WP user to: XXXXXX

    Can this issue be resolved, please?
    For the moment I have disabled the Simple Membership Google recaptcha so that the users can log in and visit the restricted pages.

    September 21, 2020 at 10:03 am #20927
    mbrsolution
    Moderator

    Hi,

    This in combination with WP Super Cache.

    Did you read the following instructions regarding WP Super Cache plugin?

    https://simple-membership-plugin.com/wp-super-cache-compatibility-simple-membership/

    Regards

    September 22, 2020 at 4:16 pm #20935
    Geert De Vylder
    Participant

    Hi mbrsolution,

    Yes I did.
    That’s what I wrote, “All settings have been set according to all the documentation on your website”.
    I read all the documentation for the plug-ins implemented and did set the settings as explained or desired.

    Regards

    September 22, 2020 at 9:45 pm #20936
    The Assurer
    Moderator

    @Geert De Vylder — Let’s try a process of elimination. All of these suggestions are temporary, in an effort to eliminate possible conflicts.

    1. Try disabling WP Super Cache.
       
    2. Try disabling reCaptcha V2 but keep the 2FA enabled.
       
  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy