Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author bnovotny

    (@bnovotny)

    No currently you cannot change that. I am adding some templates for that for a future update to make it more secure though seeing as WordPress just requires a email to reset a password.

    Thread Starter wbdesigner

    (@wbdesigner)

    I found this
    You’ll simply need to add this to your theme functions.php file:
    ____________________________________
    function change_lost_password_link( $LostPassURL){
    $LostPassURL =
    home_url(‘/YOUR REDIRECT URL’);
    return $LostPassURL;
    }
    add_filter(‘wppb_pre_login_url_filter’,’change_lost_password_link’, 2);
    __________________________________________

    Plugin Author bnovotny

    (@bnovotny)

    Thanks, I will add something like that, I plan on adding a security question at some point in time to make it ( whole lost password – password reset process ) more secure as a two step authentication process because just using an email is a little weak for anything beyond just a blog.

    Thread Starter wbdesigner

    (@wbdesigner)

    My way didn’t work, so if you do come up with something could you send me a quick note.

    My password reset goes to a page that doesn’t exist and I can’t figure out why.

    Thanks

    Patti

    Plugin Author bnovotny

    (@bnovotny)

    Where is it sending it too and when, on the lost password link or after they enter the email and then the email link is wrong?

    Plugin Author bnovotny

    (@bnovotny)

    Plugin Author bnovotny

    (@bnovotny)

    My plugin does have a password reset shortcode and if you have it set to require users to change password after a specified amount of time it will redirect to that page when they try to login, and that is set on the Custom options page under the Password Change Options Tab. Make sure the first rows two columns are checked to no to make sure that is not the cause.

    Thread Starter wbdesigner

    (@wbdesigner)

    I saw the password reset in your plugin but I don’t make people come up with new passwords after a length of time.
    What is happening on my site is very confusing. When you go to the wp page to login there is a forgot password link if you click that you are sent to a dead page (page does not exist).
    If I manually type in the forgot password url everything looks fine but sometimes it sends people a link that isn’t valid, sometimes it works fine… don’t know why but it has always been this way. People email me and I have to go into the users and manually reset their passwords.

    Patti

    Plugin Author bnovotny

    (@bnovotny)

    Is it the link on the login page, Lost your password or the link to reset the password in the email? And do you have any other registration/user profile plugins?

    Plugin Author bnovotny

    (@bnovotny)

    If it is the link on the login page you can try something like this on your theme functions page:

    function lost_xwrd_url( $lostpassword_url, $redirect ){
    		$site = ( string ) site_url();
    		$lost_xwrd_page = ( string ) '/wp-login.php?action=lostpassword';
    		return $site.$lost_xwrd_page;
    }

    And you also need to add this:

    add_filter( 'lostpassword_url', 'lost_xwrd_url' ), 10, 2 );

    Maybe that might help as it seems something is messing either with the url or the DNS

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘lost password redirect’ is closed to new replies.