Support » Plugin: Network Subsite User Registration » Password reset not working

  • Resolved polger

    (@polger)


    Hi,

    The new user process is fine. User is kept in the subsite or mapped domain.
    However, the lost password process is broken.

    The login screen shows a lost password link at the bottom, but its missing the ?action=lostpassword query variable. So the link only reloads the same login form.

    Upon a failed login, another lost password link appears at the top, missing the ?action=lostpassword query variable. And the link at the bottom now points to the main site, not the subsite (or mapped domain).

    If I manually add the ?action=lostpassword query variable, a form prompts for the username or email address. But after submission, you are taken to the main site login page.

    The email received for password reset, contains a link to the main site login page (instead of the subsite), and it has no query variable or token to actually reset the password.

    Best Regards.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Justin Fletcher

    (@justinticktock)

    Thanks for the info. I’ll have a look at that in my next quieter moment.

    etastic

    (@etastic)

    The following hack works with my configuration:

    In wp-includes/link-template.php change

    if ( ! is_multisite() ) {

    TO

    if ( is_multisite() ) {

    Plugin Author Justin Fletcher

    (@justinticktock)

    Hi @polger I’ve just released version 2.9 which resolves the issues you found.
    for your edit/changes to the wp-includes/link-template.php file, its not a good idea to change the core WordPress files as you will have to redo whenever a new version of WordPress gets rolled out.

    Thread Starter polger

    (@polger)

    Great! I will take a look these days.
    Thank you!

    I installed version 3.1, and the Lost your Password link on the login page points to the main site.

    If I manually enter the mappeddomain.com/wp-login.php?action=lostpassword the page displays properly. The form action points to the main domain.

    Any advise?

    Plugin Author Justin Fletcher

    (@justinticktock)

    I’ll take a look when I get chance to.
    Thanks for the info.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Password reset not working’ is closed to new replies.