Auth
resetPassword()
Use nhost.auth.resetPassword
to reset the password for a user. This will send a reset-password link in an email to the user. When the user clicks the reset-password link the user is automatically signed-in. Once signed-in, the user can change their password using nhost.auth.changePassword()
.
Parameters
__namedParameters required ResetPasswordParams
Property | Type | Required | Notes |
---|---|---|---|
__namedParameters.email | string | ✔️ | |
__namedParameters.options | RedirectOption |