Skip to Content
dFlow
Account

dflow auth:forgot

Ask the API to send a password reset through the configured mail driver.

dflow auth:forgot --email EMAIL

Flags

--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

On this page