• Resolved clpoh

    (@clpoh)


    Hi Chad,

    Without moderating registration, everything was working perfectly.

    However, when I chose to moderate registration, tried activating the user from the link received in the admin email, also tried activating directing from WordPress admin Dashboard > User, but when logging in with the new user account, error message “Login Failed! You entered an invalid username or password.” kept showing up.

    So far the only way I manage to login with that new user account was to reset password, logged in using the auto-generated password, then change the password again, and problem is solved, despite in a very inefficient way.

    I suspect it has something to do with the auto generated password? could you shed some light on what could be the problem and how to solve it?

    Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    I did discover a bug in the activation process. It affects plugin versions 3.2.1 and 3.2.2.

    There was a fix in 3.2.1 for some user profile update problems. This fix corrected problems with how fields were excluded from the user profile update (eliminating WP native fields from the WP-Members fields array). These exclusions were done prior to checks for a password field if a user was being activated from the profile page.

    This bug only affects the above mentioned versions, and is only present when (1) a user sets their password at registration and (2) is activated from the user profile (the Users > All Users screen is unaffected).

    There will be a fix release as soon as possible. In the meantime, there is a patched version of the file needing to be replaced (inc/class-wp-members-user-profile.php) here:

    https://rocketgeek.com/code-snippets/class-wp-members-user-profile-php/

    • This reply was modified 6 years, 7 months ago by Chad Butler.
    Thread Starter clpoh

    (@clpoh)

    Hi Chad, thanks for the speedy response!

    Sorry for the first inquiry on sending user selected password to their welcome email, was able to find that under FAQ shortly after posting my first question.

    Just updated the user profile php file from the link above, and now activation works – activation from user profile as well as from User > All Users.

    You’re the man! Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Login Failed (for moderated registration) even after Activated new user’ is closed to new replies.