Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reset password does not go to colorlib page #120

Open
mplusb opened this issue Apr 27, 2020 · 2 comments
Open

reset password does not go to colorlib page #120

mplusb opened this issue Apr 27, 2020 · 2 comments

Comments

@mplusb
Copy link

mplusb commented Apr 27, 2020

thank you for the great plugin!

from this page https://www.decisionviz.com/wp-login.php, when i click “Lost your password”, it goes to the site default page (https://share.getcloudapp.com/Z4uLk0lq), rather than the one i designed with the plugin (https://share.getcloudapp.com/WnuGJje2)

https://wordpress.org/support/topic/reset-password-does-not-go-to-colorlib-page/

@clthuang
Copy link

clthuang commented Oct 3, 2020

Hi there! Is there any update regarding this bug? thank you!

@geodem
Copy link

geodem commented Apr 26, 2021

Hi,

just came across this bug which is still not solved. Here a workaround. Just place this code into your child themes functions.php to change the lostpassword_url.

function my_lost_password_page( $lostpassword_url, $redirect ) {
return home_url( '/wp-login.php?action=lostpassword' . $redirect );
}
add_filter( 'lostpassword_url', 'my_lost_password_page', 10, 2 );

If there is an issue with the register page just change the action to register --> /wp-login.php?action=register'

Here the WP Reference: https://developer.wordpress.org/reference/hooks/lostpassword_url/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants