Tell us what you are trying to do?
When users reset their password, I would like for them to be sent an email notification reminding them of the password, which was autogenerated when they first signed up. Alternatively, I'd like for a new generated password to be sent to their email address.
In addition, I want their autogenerated password to be reflected on the Edit Your Profile page in the password field if possible or at least for the password field in the edit your profile page to be greyed out so they don't need to create their own password. Instead, one is always autogenerated for them.
Thanks.
Hi,
Thank you for contacting us and I'd be happy to assist.
For security reasons, It is not considered a good practice to store the passwords as it is in the databases, without any encryption.
This is why neither WordPress nor Toolset stores the user's password in the database in a raw form and WordPress only stores the encrypted passwords in the database.
You can send the user's password (manually added or automatically generated) only in these two scenarios:
1. A visitor fills a Toolset Form to add a new user and the form has an email notification that includes the placeholder for the password "%%USER_PASSWORD%%".
Or
2. A user uses a Toolset Form to edit his/her profile, and enters a new password in the password fields and the form has an email notification that includes the placeholder for the password "%%USER_PASSWORD%%".
Important note: If the user doesn't enter the new password in the password field or the user edit form doesn't include the password field, then placeholder "%%USER_PASSWORD%%" will return the encrypted password and not the actual password, which will be of no use for the user.
Since the password reset form also uses WordPress default functionality, it also doesn't send the notification with the newly generated password.
I hope this helps and please let me know if you need any further assistance around this.
regards,
Waqar