Changes a password for the user's account in the client, after it has been changed in the backend.
This method does not enable changing the password to the backend.
Name | Description | Type | Use |
---|---|---|---|
identifier | Specifies the name of the account. |
string |
required |
newPassword | Specifies a new password for the account. |
string |
required |
oldPassword | Specifies an old password for the account. |
string |
required |
callback | Passed while sending a reply to the request referring to an account and its public user data. | object |
required |
Please refer the addAccount article for detailed information on the callback, its structure and methods.