0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00

Added pack in user put

This commit is contained in:
Brian Peacock 2014-05-07 10:11:48 -05:00
parent 2901e619cb
commit c47f73f799

View file

@ -201,6 +201,13 @@ module.exports = function(config_hash) {
}) })
}) })
app.put('/-/user/:org_couchdb_user', function(req, res, next) {
res.status(409)
return res.send({
error: 'registration is not implemented',
})
})
app.put('/-/user/:org_couchdb_user/-rev/*', function(req, res, next) { app.put('/-/user/:org_couchdb_user/-rev/*', function(req, res, next) {
if (req.remoteUser == null) { if (req.remoteUser == null) {
res.status(403) res.status(403)