• Resolved livninctry

    (@livninctry)


    I am having some issues with the password reset function. When you click the link for forgot password it allows you to put in user name and it does send out the email for reset. When you click that link it does bring you back to the website and the form for resetting the password. Once you fill out the new password and hit submit, it acts as though everything has worked. However, once you try to login with the new password it says you have wrong password, but the old password still works.

    Long story short it is not resetting the password. Any help would be great.

    website is at:
    https://www.dev.hoaconnections.com/venturahoa

    Thank you for your help.

    https://www.ads-software.com/extend/plugins/s8-custom-login-and-registration/

Viewing 6 replies - 16 through 21 (of 21 total)
  • I can’t seem to find the code I need to replace. Is any version of this plugin with the fix in place, even a developer version? I really need the reset password feature to work.

    Even a copy of the file with the fix already in place would be great.

    Ok so apparently my file is different from the one mentioned above by Alex. I was able to fix this, by editing s8-login-registration.php

    I found
    function reset_shortcode

    at line 1003

    I replaced the final
    (return false)

    line in the function with the code

    $tmp = array();
            if(!empty($hide_links)) {
                // Hide our links!
                $hide = explode(',', $hide_links);
                foreach($hide as $link) {
                    $link = strtolower(trim($link));
                    if($link == 'login') $tmp['login'] = false;
                    elseif($link == 'register') $tmp['register'] = false;
                    elseif($link == 'forgot') $tmp['forgot'] = false;
                }
            }
            $args = array_merge(array('forgot' => true, 'register' => true, 'login' => true), $tmp);
            ob_start();
            s8_clr_get_form($action, $args);
            return ob_get_clean();

    As mentioned above by Alex

    and then I went into ‘/inc/forms.php’ as mentioned by Alex and replaced

    <form name="pass-reset" action="<?php echo home_url('/'.s8_login_registration::ep_login.'/?action=rp&key='.$_GET['key']); ?>" method="post" class="s8_form reset_form">

    With

    <form name="pass-reset" action="<?php echo home_url('/'.s8_login_registration::ep_login.'/?action=rp&key='.$_GET['key'].'&login='.$_GET['login']); ?>" method="post" class="s8_form reset_form">

    And my password resets are now working.

    It would be really great if this simple fix could make it into the posted plugin.

    Sorry for the delay with this. We are hoping we are now where we can more regularly look into issues and release fixes. This issue should be fixed in the latest version (0.8.4, due out later today).

    Also, mrsangeld, I would make sure you reinstall from the www.ads-software.com repository as that file should not have more than around 665 lines. Having over 1000 lines in the s8-login-registration.php file seems very suspicious.

    Also, mrsangeld, I would make sure you reinstall from the www.ads-software.com repository as that file should not have more than around 665 lines. Having over 1000 lines in the s8-login-registration.php file seems very suspicious.

    I installed the plugin using the wordpress interface for installing plugins. I never manually downloaded the plugin at all. I’m not sure why my files would be different.

    Interesting. I would delete the plugin you have an reinstall (or, just upgrade to the version that we just released a few days ago)

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘Forgot Password Not Reseting Password’ is closed to new replies.