SB Welcome Email Editor
[resolved] Changing user's password using wp_update_user doesn't ch (6 posts)

  1. Maxaud
    Posted 3 years ago #

    I have a frontend where users can modify their user information including password.

    If they edit it, it doesn't change the value stored for the "Remind PW" button so if I remind a user of their password, it sends the old one.


  2. jlamerto
    Posted 2 years ago #

    I also have this problem.

  3. Sean Barton
    Plugin Author

    Posted 2 years ago #

    This should work as long as the action fired by the system you are using is the same as that of the back end. Try a plugin like CYC which I think will work.


  4. Maxaud
    Posted 2 years ago #

    I'me using wp_update_user() function when changing the password.

  5. Sean Barton
    Plugin Author

    Posted 2 years ago #

    Ok sure.. I just checked the code and I am using the action called 'profile_update' to check for the existence of pass1 and pass2 in $_POST, checking they match and then storing the contents in usermeta. I suspect that unless your front end system uses the same variable names and fires the same action then this is unlikely to be compatible.


  6. Maxaud
    Posted 2 years ago #

    Yes, this is only called in the backend of WordPress when a user updates their profile.

    I'd recommend changing the plugin so it also supports wp_update_user and wp_set_password unctions as these are probably the most common ways people change a users password when not using the edit profile page.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • SB Welcome Email Editor
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic