resetPassword(Defined in: packages/modelence/src/auth/client/index.ts:182 Reset password. The token is normally exchanged server-side via an httpOnly cookie, so the client only submits the new password. Passoptions):Promise<void>
token only for legacy flows
that still carry it client-side (deprecated).
Parameters
| Parameter | Type | Description |
|---|---|---|
options | { password: string; token?: string; } | - |
options.password | string | The new password. |
options.token? | string | Reset token (optional; read from the httpOnly cookie when omitted). |
Returns
Promise<void>