Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [lost-password]

The tag has no usage guidance.

1
vote
1answer
95 views

Customize reset password form redirect problem

I would like to create my own reset password form and page, I mean this page: I have already created a page template for the reset password form, the code: <?php /* * Template Name: Page - Reset ...
0
votes
0answers
8 views

email for lost password not responding

I have forgotten my passowrd. When I try to send my email address it says OOPS That page cannot be found.I dont know what I am not doing right. It appears to be a redirect problem but too technical ...
0
votes
1answer
30 views

Is it possible to send user new password after they clicking on forgot password in word press

In word press is it possible to send users to new password after they are clicking on forgot password page ? Actually I dont want to send any url to users email which can take them to any page. Also ...
2
votes
2answers
20 views

Intercept invalid email during lost_password

On the website I'm developing, I need all login-related forms to be on custom, branded pages. I have pretty much covered them all, but I have just one case I can't manage correctly. I have set a ...
0
votes
0answers
25 views

WP-CLI is unable to update password

I execute following command to change password for admin user from command line: wp user update admin --user_pass="mynewpassword" --allow-root I got following error message: WordPress database ...
1
vote
0answers
28 views

Wordpress password reset - why post rp_key?

I'm developing a plugin and after reading through wp-login.php, I can't seem to work out why some things are done the way they are. Why does WordPress hide the reset password key from the URL? After ...
1
vote
1answer
413 views

WooCommerce lost password reset flow not working with SendGrid (redirect loop)

Leaving this here for anyone who runs into the same issue because I just spent a few hours to track this down and couldn't Google my way there: The WooCommerce reset password flow is broken. The ...
1
vote
2answers
28 views

How to change password

I have a blog. My computer crashed months ago, my username is admin I have tried to recover my password but as it is lost create a new one, they sent a huge long address password will not let me copy ...
0
votes
0answers
83 views

Lost Password redirect to My Account

I’m facing an issue related to the lost password page and redirections. I’m using woocommerce. The link in the reset email : https://mywebsite.com/my-account/lost-password/?key=XXXXXXXXXXXXXXXXX&...
0
votes
1answer
19 views

Lost Your password Hook Not Showing Up

This code used to work fine but after updating Wordpress, it doesn't seem to work anymore. I am not getting my custom link to appear. Any ideas? function hook_lost_your_password ( $text ) { ...
1
vote
3answers
272 views

How to filter/hook-into retrieve_password() to filter $_POST['user_login']?

I'm developing a website where the username is a document number, called CPF (think of it as a national ID), which has the following mask: 000.000.000-00 I'm storing the usernames as plain numbers, ...
0
votes
1answer
34 views

Can't alter $lostpassword_url

I need to change the href of "retrieve password" but I can't seem to change the $lostpassword_url in wp_lostpassword_url(); I have this filter, which apparently gets called in wp-login.php: function ...
0
votes
0answers
28 views

wp password reset email always showing old logo & email after changing domain

2 weeks ago i changed my domain from abcd.com to abcde.com now, i have a problem in my password reset wp email. in the email contain old logo, old site name & old site description, old from email ...
1
vote
1answer
535 views

How to set minimum length and error message for password recovery?

At this moment, my WP site don't require a minimum length for password recovery, and I want to change that. Since I'm really new at WP plataform, I've been searching for a while, and find some methods ...
1
vote
0answers
30 views

What did I do wrong in my functions code, that will not change the “Get New Password” text to “Send It”?

I am wanting to change the text "Get New Password" to "Send It" on the lost password page. The following code is what I have in my functions.php file, but it is not changing the default "Get New ...
0
votes
0answers
30 views

Using the Rest APIs is there anyway to trigger the Reset Password Flow?

Using the Rest APIs is there anyway to trigger the Reset Password Flow? I want to create a custom password reset request page, to match the rest of my theme. But I am unable to find any reference to ...
0
votes
0answers
225 views

Why wp_set_password not working within a api endpoint?

I try to build a custom api route for resetting the password from a WordPress user. I build a custom route with a function and al the data passing in the function is correct but the function not ...
1
vote
2answers
70 views

Right practice to edit WP reset password email

Since I'm pretty new to WordPress, I would like to know what is the right way to edit the WP reset password email. I would like to change the message. I see that I need to edit the ...
1
vote
3answers
556 views

Set content type to HTML for lost password email only

Is there a way to change the content type for only the password reset email? I have a custom HTML template for it, and have set wp_mail_content_type to text/html and am applying the template with a ...
0
votes
1answer
32 views

wordpress/woocommerce login url not redirecting correctly

I'm trying to resolve the following issue. When a user adds his email on the lost-password page an email is sent to them. The url however is https://cormilu.com.br/minha-conta/lost-password/?key=.......
1
vote
1answer
1k views

Change Password Hint

I want to change the password hint on the password reset screen. Currently, it says "Hint: The password should be at least twelve characters long. To make it stronger, use upper and lower case letters,...
0
votes
0answers
1k views

How to trigger lost password email using REST API?

I have looked all over and can't seem to find the answer to this. Is it even possible? Or does anyone have an alternative? Basically, my front end app needs to send the user a lost password email or ...
0
votes
1answer
20 views

Issue encountered while trying to keep website private

I'm working on a test site, and I was trying to make my site private by redirecting all non logged-in users to the login page by adding the following code to my theme's function.php file: function ...
0
votes
1answer
283 views

How to initiate password reset flow by code

I have a system in which I create users by Email ID when they make a purchase. I want to send them the link to send Password when they click on link so the option is I initiate the password reset ...
5
votes
2answers
2k views

Add Confirm Password field in wp-login.php Password Reset page

I'm working on a WordPress website and I'd like to modify the password reset screen /wp-login.php?action=rp. Currently, the password reset screen generates a new password for the user and I want to ...
0
votes
2answers
1k views

How to Create a Admin User for A WordPress Site via MySQL (PHPMyAdmin)?

My WordPress site got hacked and the WP Admin user account password was changed by the hacker. This essentially locked the user out of his admin dashboard. It is best (for situations like this) to ...
0
votes
1answer
17 views

On local machine can't log in or reset password but I can log in on the live version, user has activation key in database

I'm working on a local copy of a site that is online and I can't log in or reset password for my user and I can't figure out why. I can click to reset the password with the "forgot password" button ...
0
votes
0answers
1k views

Custom reset password form

I'm working on a wordpress site which requires user to be login to see content. I'm using Force Login plugin to to this. It uses custom front end login form, and custom lost password form. Problem ...
-1
votes
2answers
62 views

Recover Same Wordpress Admin Password

I have a wordpress page that i'm trying to gain access to. I currently have access to the phpadmin database and I can easily create a new password. But I'm actually looking to see what the actual ...
0
votes
0answers
241 views

how to reset password using otp

How to get one time password via email when any user try to reset their password using lost password link rather than getting a link in email.
1
vote
2answers
522 views

Intercept the “lost password” action by first redirecting to an existing instructions page

We have a situation where the users (children) keep not forgetting their password but making trivial mistakes while trying to login. As per question they should be first redirected to page e.g. id=5 ...
1
vote
1answer
580 views

add_action for lost_password or modify wp-login.php?action=lostpassword

So far I have completed adding google recaptcha on contact page, login page, and pages that has forms on the front end, all are working great as expected. now only one page is remaining for me to add ...
0
votes
1answer
386 views

How to validate custom field on lost password form before the user id field?

I have added a custom field to the lost password form (using the action lostpassword_form) and I am validating this field with the filter allow_password_reset. It is working but I want my field to ...
1
vote
1answer
4k views

“Lost password” page triggers 404

I have a WP 4.5.3 with Wiz theme and two other plugins (other than the ones bundled with Wiz): WP Customer Area and WP-Members. https://www.ukulele.it/wp-login.php Try clicking "Lost password", you ...
1
vote
1answer
490 views

Custom Front End Registration - How Does the Key work in the Password Set Request?

I've been working from some tutorials on building a front end registration / login system. Specifically this link - http://cubiq.org/front-end-user-registration-and-login-in-wordpress Everything is ...
1
vote
0answers
70 views

Generating the password reset link automatically

I have a system sending out emails to new subscribers, and I would like to give them a link to change their password, just as if they had requested a password change. Is there any reasonably easy way ...
0
votes
1answer
237 views

lostpassword_redirect filter is not used

I'm trying to redirect a user after they have reset their password. I'm using the following code, based on an example from the wordpress docs. add_filter( 'lostpassword_redirect', 'my_redirect_home' )...
3
votes
1answer
930 views

User password field is empty

Note: actually, the described situation is on a local environment. I'd like to know what happens if it goes live with this setting. I've installed a plugin and it has reset all the password in the WP ...
5
votes
2answers
4k views

Hook *after* user password change?

I know that password_reset hooks: Runs after the user submits a new password during password reset but before the new password is actually set. but there is a similar hook AFTER the new password ...
0
votes
1answer
436 views

Where is the email content for retrieve_password_message stored?

I have taken over a project that has a customized password reset email. I've searched through all the text in project for this email but cannot find it. I suspect it might be in a .po file or ...
1
vote
1answer
926 views

Enqueue style for Password Reset page

I've enqueued a style for my WordPress login page like so: function login_stylesheet() { wp_enqueue_style( 'custom-login', plugins_url( 'style-login.css', __FILE__ ) ); } add_action( '...
0
votes
1answer
793 views

Get new password without email

I had installed a Wordpress theme on my localhost on my ubuntu 14.04. Now, I have forgot my admin password and I am not able to login. What's the way to login, as I am not able to get the email ...
1
vote
3answers
3k views

Remove lost password form and URL

I've shut down password resets for all users. I now need to prevent /wp-login.php?action=lostpassword from doing anything should anyone manually input the URL into their browser. i.e. I don't want ...
1
vote
1answer
138 views

I don't understand why I shoud use lostpassword_url hook?

Look into my comment in the code below: // WHY can I not just do this? class Customuser { public function __construct() { // Using this when using lost password functionality ...
2
votes
2answers
132 views

Is the “lost password” feature truly a vulnerability?

Disabling Password Resets I've come across numerous security hardening articles relating to various measures for disabling password resets (i.e. lost password retrieval). https://www.google.com/...
0
votes
1answer
73 views

Requiring wp-login.php sends headers automatically

I'm creating a custom password reset page on a site, and am trying to leverage retrieve_password() to send the reset email. Upon sending the reset email, I'd like to wp_redirect the user back to the ...
0
votes
0answers
565 views

Wordpress not sending registration mail? (works on 'lost password')

I read a lot about Wordpress not sending mail, but often the solution is in server configuration that is not my case. My wordpress site isn't sending registration mail, but works perfectly in sending ...
0
votes
1answer
5k views

Cannot login in Wordpress even after changing hash password in phpmyadmin

An hour ago I changed the password of my Head Admin user. But after this I was not able to login anymore. So I have tried to reset the password in PHPmyadmin with the md5 encoding and even with this ...
0
votes
1answer
339 views

What is the CODEX intercept for wp-login.php?action=lostpassword

I want to write a plugin hook for wp-login.php?action=lostpassword. Does anyone know what the add_action() is for wp-login.php?action=lostpassword? I searched the CODEX and could not discover it. ...
0
votes
1answer
404 views

Can't reset WordPress password

I haven't logged onto my blog for years, and have, of course, forgotten the password. I click the 'Forgot' button and get a mail with a link, but that mail already says Sorry, that key does not ...