This topic has 16 replies, 3 voices, and was last updated 8 years by Radu.

  • Author
  • #174056
     flavianodelgado
    Participant

    Hello,

    When you clicked “I forgot my password,” you received an email in the inbox with the link to change the password.

    When changing the password, go to wp-login (in WordPress)

    See photos

    #174139
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! ?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #174222
     Radu
    Moderator

    Hi,

    Wrong credentials… cannot cheeck

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #174241
     flavianodelgado
    Participant

    Try again please

    User:
    suporte

    Pass:
    suporte01

    #174322
     Radu
    Moderator

    Hi,

    I see there it’s how it works at the moment, the link from the email it will driven you to wp-login.php page it’s normal, for the moment no quick solution to have a custom page for rest password from email link

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #174416
     flavianodelgado
    Participant

    Right. Would I have to change the direction?
    Example: Instead of going to wp-login go to portalapper.com.br/redefinir

    #174725
     Radu
    Moderator

    Hi,

    With a similar function

    COPY CODE
    
    add_filter( 'lostpassword_url',  'wdm_lostpassword_url', 10, 0 );
    function wdm_lostpassword_url() {
        return site_url('/redefinir?action=lostpassword');
    }
    

    The function needs to be pasted in wp-content/themes/kleo-child/functions.php

    NOTE : Child theme needs to be installed and activated.

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #174746
     flavianodelgado
    Participant

    Hello,
    I tried your code, but I did not understand how the code works.
    Can you explain me?

    #174834
     Radu
    Moderator

    Hi,

    Using WordPress filter lostpassword_url

    Explained in detail here how that works : https://code.tutsplus.com/articles/the-beginners-guide-to-wordpress-actions-and-filters–wp-27373

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #174895
     flavianodelgado
    Participant

    Thanks!

    #174961
     Radu
    Moderator

    You’re welcome
    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #175594
     flavianodelgado
    Participant

    I was doing some tests here, and I had a question.

    The direction of the email leads to the wp-login, how can I change this email to send me to a specific page?

    Today the email arrives the following:

    To reset your password, visit the following address:
    <http://portalapper.com.br/wp-login.php?action=rp&key=3CnTQIIwHcBDVWDqeX5D&login=’user ‘>

    Would you like to change to:

    To reset your password, visit the following address:
    <http://portalapper.com.br/mypage&gt;
    ???

    #175746
     Radu
    Moderator

    I don’t have a solution for that, maybe you will need a plugin that manipulates the login.

    You can try this : https://ro.wordpress.org/plugins/custom-login-url/

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #175771
     flavianodelgado
    Participant

    Right.
    Next, I saw that woocommerce has a page resetting the password itself.
    I just need to make clicking on “forgot my password” direct to that woocommerce page, rather than opening the reset popup.

    Would you help me?
    I am seeing this plugin but I believe it will not serve me that much.

    I’m grateful and sorry for the inconvenience.

    #175830
     Radu
    Moderator

    Hi,

    sure just create new file you in the child theme

    path : /wp-content/themes/buddyapp-child/page-parts/login-form.php

    https://pastebin.com/raw/XRWB1FG5

    If the folders missing create them also the file in that you will paste the content from Pastebin

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #175850
     flavianodelgado
    Participant

    Thank you very much.
    I am very grateful, the problem was solved!! ^^

    #176097
     Radu
    Moderator

    Hi,

    You’re welcome 🙂

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 17 posts - 1 through 17 (of 17 total)

The forum ‘Bugs & Issues’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?