Simple Membership Plugin › Forums › Simple Membership Plugin › Login with reCaptcha enabled fails after entering 2FA code
- This topic has 3 replies, 3 voices, and was last updated 5 years, 9 months ago by
The Assurer.
-
AuthorPosts
-
September 20, 2020 at 8:11 pm #20925
Geert De Vylder
ParticipantHi,
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: XXXXXXCan 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 #20927mbrsolution
ModeratorHi,
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 #20935Geert De Vylder
ParticipantHi 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 #20936The 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.
- Try disabling WP Super Cache.
- Try disabling reCaptcha V2 but keep the 2FA enabled.
-
AuthorPosts
- You must be logged in to reply to this topic.