This repository has been archived by the owner on Feb 25, 2019. It is now read-only.
This repository has been archived by the owner on Feb 25, 2019. It is now read-only.
Missing method for changing user's password #36
Open
Description
I try to use updateUser for changing user's password, but it don't work.
Workaround is adding changePassword method into
https://github.com/anvilresearch/connect-nodejs/blob/master/rest/users.js
something like this
function changePassword (id, password, options) {
options = options || {}
options.url = '/v1/users/' + id + '/password'
options.method = 'PATCH'
options.json = {password: password}
return request.bind(this)(options)
}
exports.changePassword = changePassword
Please add it into some future release
Metadata
Assignees
Labels
No labels
Activity