• Moderator Steven Stern (sterndata)

    (@sterndata)


    Volunteer Forum Moderator

    I have a local neighborhood site and have developed a dashboard for its members. I need a good way to get the members to login. Each has a real WP userid. I’d like to make setting a password as easy as possible.

    Is there a way to send someone a link to the lost password form with their email address pre-filled? Something like https://www.example.com/wp-login.php?action=lostpassword&user_login=test@example.com

    I can probably code something custom, but it would be nice if there’s a way to include the email in a link. so all the person has to do is click “submit”.

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    The form gets the email from $_POST, so there’s no way to set it from a GET request. Maybe you could use the ‘lost_password’ action to get the value in $_GET['user_login'] and assign it to $_POST['user_login'] so the form will pick it up.

Viewing 1 replies (of 1 total)
  • The topic ‘Lost password form — pre-filled’ is closed to new replies.