reset_password_perform
The reset_password_perform function is used to finish the procedure of changing password.
svc=core/reset_password_perform¶ms={"user":"<text>",
"code":"<text>"}
Parameters
After the execution of the reset_password_request, an email with link is sent to the user. The link leads to the URL indicated in the request and contains two more parameters needed to finish the password reset:
Name | Description |
---|---|
user | User name. |
code | The code generated by the reset_password_request and sent to the user by email. |
Returned result
{
"newPassword":"<text>" /* new password */
}
Possible error codes:
Code | Description |
---|---|
4 | Wrong input parameters or failed to finish the password resetting. |