Account
dflow auth:forgot
Ask the API to send a password reset through the configured mail driver.
This asks the server to send a password reset. You then run dflow auth:reset with the token from the email, or from the API log when mail is not sent.
dflow auth:forgot --email EMAILFlags
--email. --api optional. Globals.
What you see
The terminal prints status is accepted. delivery is log or smtp. next tells the person to run dflow auth:reset TOKEN with the token from the API log (log) or from the email (smtp). The token is not printed. An empty driver prints mail is not configured and does not claim a message was sent. Exit 0 when the API accepts the request.
When it fails
Exit 6 when mail is not configured or the address is rate limited. Exit 10 when the API cannot be reached.
How is this guide?
Last updated on