Resetting user password using the database #819
-
The reset password method was not working for an account as the email provider was rejecting the emails. I updated the email address by changing it in the database, so that the password reset link can be send (other email provider had no issues). Is there any other way to reset the password by making changes to the database or using some other method than email? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
#736 you'd need to combine a bit of the steps here, but the building blocks are there. You'd need to use the |
Beta Was this translation helpful? Give feedback.
-
I stumbled upon this issue since I couldn't get the email server to work, and thus, couldn't get the reset password to work. Posting this here for future me and other people:
|
Beta Was this translation helpful? Give feedback.
-
If it helps anyone else, in case you've forgotten your email as well: you can run |
Beta Was this translation helpful? Give feedback.
-
This just helped me out, thanks! |
Beta Was this translation helpful? Give feedback.
#736 you'd need to combine a bit of the steps here, but the building blocks are there. You'd need to use the
get_by()
and then the set_password()`