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:
parent
2901e619cb
commit
c47f73f799
1 changed files with 7 additions and 0 deletions
|
@ -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) {
|
||||
if (req.remoteUser == null) {
|
||||
res.status(403)
|
||||
|
|
Loading…
Reference in a new issue