4👍
I figured out the answer, and it didn’t come up elsewhere.
The call to send_mail
worked as it forces an email to be sent.
However, password recovery has a lot of indirection, and one of the checks is if the user has_usable_password
, which when you are working with dummy users during testing I forgot to do.
So, make sure your users have a password set before attempting to recover a password.
Source:stackexchange.com