Auth
changePassword()
Use nhost.auth.changePassword
to change the password for the signed-in user. The old password is not needed. In case the user is not signed-in, a password reset ticket needs to be provided.
Parameters
__namedParameters required ChangePasswordParams
Property | Type | Required | Notes |
---|---|---|---|
__namedParameters.newPassword | string | ✔️ | |
__namedParameters.ticket | string |