wpsharks / s2member

s2Member® Framework (membership management for WordPress®).
64 stars 36 forks source link

s2member login is not working. redirects to wp-login no matter what i try. #1233

Open codeconspirators opened 1 year ago

codeconspirators commented 1 year ago

EXPLANATION OF THE ISSUE

using s2member pro login widget or shortcode (doesnt matter wich) i have setup a a page to require level1. i have my user assigned to level 1. when i attempt to login the page simpy shoots me over to wp-login.php to login it does not authenticate. i have disabled all themes (switched to 2022 or 2023), and all plugins other than s2member framework and pro have been disabled.

STEPS TO REPRODUCE THE ISSUE

latest WP version, Latest s2member framework and pro plugin. create a page with restriction level 1. create a user that has access to level 1. disable nav filtering so menu item that is restricted is clickable. click menu item you are directed to your options page. on the options page i have the login form ( i have tried the widget and shortcode as well as creating my own) inputting the credentials for the user with level 1 capabilities and pressing login does not authenticate and just redirects to wp-login. this strips all query data for the protected page to be redirected to after login so defeats the point of the s2member login.

BEHAVIOR THAT I EXPECTED

user to be loged in and redirected back to the protected page they were tring to access from the menu.

BEHAVIOR THAT I OBSERVED

user was redirected to the wordpress wp-login page to login. wich strips all data from s2member and at that point will simpy just login.