update_password
Function
Function Name | Description | Level |
update_password | Update current user's password. Normally user can update account password with present password. Or user can reset password directly if this account is registered with the same email address of Tapatalk ID, however app side need rerify the Tapatalk ID password again. | |
Input Parameters:
Name | Type | Required? | Description | Level |
Case 1 | Array of Hash table | | Case 1 request two parameters and was used to update password in user profile view with old forum account password | |
old_password | byte[] | yes | Current forum account password | |
new_password | byte[] | yes | New password to be udpated to. | |
Case 2 | Array of Hash table | | Case 2 request three parameters and user used to update directly with tapatalk id token and code. | |
new_password | byte[] | yes | New password to be udpated to. | |
token | String | yes | login with tapatalk id will get the token | |
code | String | yes | md5 of fid, tapatalk id join email of tapatalk id, sample: md5('123|1234|xxxx@gmail.com') | |
Output Parameters:
Name | Type | Required? | Description | Level |
result | Boolean | yes | Response status | |
result_text | byte[] | | Error message | |