• Resolved vjj773

    (@vjj773)


    Hi,

    Thanks for this plugin.

    I need to get password reset form link in my email instead of auto generated password after clicking on forgot paqssword link and providing email id. i will provide my email id in forgot password page and will get a link of password reset in my mail. After clicking on that link i will redirected to a page where i can set my password like that. I have used following hook also`add_filter( ‘wpmem_email_repass’, ‘my_email_filter’ );
    function my_email_filter( $email_content ) {
    $email_content = “This is added to the beginning”
    . $email_content
    . “I put this on the end”;

    return $email_content;
    }`

    https://www.ads-software.com/plugins/wp-members/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    You’re talking about a pretty significant change to the plugin’s existing process. Such a customization would be beyond the scope of what I could describe in the forum. If you need custom work done, please contact me through rocketgeek.com/contact/ and I will provide you a quote.

    There is an article along with code required for configuring a process where upon logging in after a random password is set the user is required to change it before continuing. That process accomplishes the same goals with regards to security as you described and that article (along with many others) is available to premium support subscribers.
    https://rocketgeek.com/filter-hooks/force-user-to-update-password-from-randomly-set-password/

    Emailing a password is horribly insecure.
    The email corpi go through many servers before arriving at the user’s door. Any of those could retain the email and use it to breach sites later.

    In contrast, a reset link is only good for a limited time, so if someone came across an old email it wouldn’t breach the site.

    This is an absolute deal-killer. Sorry.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘I need password reset link in reset password email not auto generated password’ is closed to new replies.