• Resolved jeffhalfletter

    (@jeffhalfletter)


    When a user clicks on “Forgot Password” they get an email with a link to a reset page. When the user changes their password, it is automatically redirecting them to the home page of the site.
    How would I be able to redirect them to a DIFFERENT page from the password reset?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support mansurahamed

    (@mansurahamed)

    Hi @jeffhalfletter,

    They should be redirected to login page by default, not homepage. You can add following custom code in your child theme’s functions.php file to custom redirect url after password reset

    
    add_action( 'um_after_changing_user_password', 'custom_redirect_after_changing_user_password', 10, 1 );
    function custom_redirect_after_changing_user_password( $user_id ) {
    exit(wp_redirect( "https://mycustomurl.com" ));
    }

    Change the url mycustomurl.com to the actual url.

    Thanks.

    Thread Starter jeffhalfletter

    (@jeffhalfletter)

    That is working perfectly thanks!

    I am experiencing a VERY strange problem with the password reset though. When I open the link from the email in chrome, I’m able to reset the password fine, but when I open the email in Safari, it gives me an alert that says “Your password reset link appears to be invalid. Please request a new link below.”

    However, this exact same URL works in Chrome.

    How can I resolve this issue?

    Plugin Support Ultimate Member Support

    (@ultimatemembersupport)

    Hi @jeffhalfletter,

    Please check what browser extensions you have installed and try to disable them and see if it helps.

    Regards.

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @jeffhalfletter,

    …This thread has been inactive for a while so we’re going to go ahead and mark it Resolved.

    ….Please feel free to re-open this thread if any other questions come up and we’d be happy to help. ??

    Regards,

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Redirect from password reset page?’ is closed to new replies.