Sending a "Password Reset" Email when creating a user using the admin plugin
I'd like to implement a system where, after I create a new user through an admin plugin, a random password is automatically generated for them. An email is then sent to this user with a message like:
Welcome ...Click this link to set a password: ...
Welcome ...Click this link to set a password: ...
Is this possible?
Solution
What about calling
forgotPassword
forgotPassword
, which will send an email to that user, and it has an expiration.