Occasionally there is a need to create a users account programmatically.
TLDR:
- You cant generate PW hashes
- The easiest solution is to create the account in the helper and send a reset email
If you need to be able to send a reset link that will not time bomb, then you instead need to jump though some auth hoops since you are potentially weakening security.
This diagram goes over the basic concept
