Link details are not showing up in the forgot password email.

This topic contains 10 replies, has 3 voices, and was last updated by  Patrik 4 years, 10 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #6187

    tmacko
    Free User
    Post count: 4

    Email shows:
    Dear Edward Mackay,
    Thank you,

    https://quescouts.ca.
    Thank you, https://quescouts.ca

    However the Forgot password email is:

    <p>Dear [#user_name#],</p>[#login_details#]<p>Thank you,<br /><br />[#site_name_url#].</p>

    Thank you,
    [#site_name_url#]

    For some reason, [#login_details#] does not appear on the email and therefore there is no link for the user to follow.

    Can you let me know what is going wrong?

    Thanks.

    #6199

    Patrik
    Moderator
    Post count: 1971
    This reply has been marked as private.
    #6248

    tmacko
    Free User
    Post count: 4
    This reply has been marked as private.
    #6250

    Alex Rollin
    Moderator
    Post count: 27815

    Thanks, the developers will take a look when they get back to the office.

    #6260

    Patrik
    Moderator
    Post count: 1971
    This reply has been marked as private.
    #6267

    tmacko
    Free User
    Post count: 4
    This reply has been marked as private.
    #6275

    Patrik
    Moderator
    Post count: 1971
    This reply has been marked as private.
    #6283

    tmacko
    Free User
    Post count: 4
    This reply has been marked as private.
    #6307

    Patrik
    Moderator
    Post count: 1971

    Hi,

    There is a plugin that might be preventing to allow reset the password by the user. We use the ‘allow_password_reset’ filter to check if it is allowed to reset the password or not and when I checked this from code I found that it is changed by someone to false. Can you check the settings of the plugins if there is any plugin preventing this may be security plugins or other plugins? I need to check by deactivating the plugins one by one and I would not recommend doing on live site as it can affect your live users. If you don’t find anything then let me know and I will try to figure out the things.

    Regards,
    Patrik

    #6505

    tmacko
    Free User
    Post count: 4
    This reply has been marked as private.
    #6506

    Patrik
    Moderator
    Post count: 1971

    Hi,

    I have overridden the filter by adding the following code in the theme Twenty Seventeen’s functions.php file:

    add_filter('allow_password_reset', 'allow_password_reset_cb', 99);
    function allow_password_reset_cb(){
    	return true;
    }

    Please check from your side and let me know if the issue is fixed or not.

    Regards,
    Patrik

Viewing 11 posts - 1 through 11 (of 11 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket