Request a new password mail for an existing user. Looks up the account by email (and optional /cid suffix) or by numeric id, generates a password if none is set, and sends it to the user's mail address.
Change Note: add blocked indication
Result of a password reminder request. When verbose=0 (default) the only success result is 'sent', regardless of whether the user actually exists; this prevents user enumeration. The 'blocked' and 'slower' results are always returned as-is.
| # | Field | Type | Description |
|---|---|---|---|
| 0 | action | string | the action that was performed |
| 1 | result | string | exit code: sent (password mail dispatched, or silently swallowed in non-verbose mode), no_user (no matching user found, only when verbose=1), multiple (email is ambiguous across multiple accounts, only when verbose=1), no_tour (new customer not allowed to request a password, only when verbose=1), blocked (account or email is blocked), slower (rate limit hit on this account or host) |
Data (1 record)
| action | result |
|---|---|
| SendPassword | sent |