Skip to Content
dFlow
Account

dflow auth:reset

Set a new password with the one-time token from the mail driver.

dflow auth:reset TOKEN

Flags

--password is a usage error. The CLI prints a password must be 12 to 128 characters, then Password: and Re-enter password:, and reads both with echo off. They must match. A password outside that length is exit 1 and does not call the API. --api optional. Globals.

What you see

The terminal prints status is reset. next says to sign in again with dflow login --email. The token and the new password are not printed. Exit 0 when the password is replaced.

When it fails

Exit 1 when --password is passed, the prompt is empty, or the API rejects the token. Exit 10 when the API cannot be reached.

How is this guide?

Last updated on

On this page