e27419086c
Implement a new method for changing user password with password-reset token but without the old password. REST API POST /api/users/reset-password Authorization: your-password-reset-token-id Content-Type: application/json {"newPassword": "new-pass"} JavaScript API User.setPassword(userId, newPassword[, cb]) userInstance.setPassword(newPassword[, cb]) Note: the new REST endpoint is not protected by scopes yet, therefore any valid access token can invoke it (similarly to how any valid access token can change the password via PATCH /api/users/:id). |
||
---|---|---|
.. | ||
models |