Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
.put('/:id', function*(next) {
// TODO(tec27): update a user
throw new httpErrors.ImATeapot()
})
.post('/:username/password', resetPassword)
imateapot: function imateapot (message) {
return new createError.ImATeapot(message)
},