Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
It should be great to have the password token working in the password request message. I don't know if its possible, maybe it's not for security reasons.
thx
Comments
Comment #1
stefansan CreditAttribution: stefansan commentedthats would i also love. send the password instead of the onetimelink and the sending to the loginsite.
but also lot of thanks for the work until here!
Comment #2
kristofferwiklund CreditAttribution: kristofferwiklund commentedIt is not possible as the password is not saved in clear text in database and there is no way to get it. (So if the database is hacked you can not see the password). So the only time when it is possible to send the password in email is just after the user has enter it in that page load becuase it is not taken from database.
If you want to have it in the password request to need to set a new password for the user or save it in clear text in database.
Comment #3
gurvan CreditAttribution: gurvan commentedthx for the answer, that's what is was thinking. I totally review my user's process to do it on the Drupal way ;-)
best regards