mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-20 22:52:46 -05:00
removing bad statement
This commit is contained in:
parent
9f662a69e1
commit
8840ac4c1f
1 changed files with 0 additions and 3 deletions
|
@ -198,9 +198,6 @@ module.exports = function(config_hash) {
|
|||
})
|
||||
|
||||
app.put('/-/user/:org_couchdb_user/-rev/*', function(req, res, next) {
|
||||
// can't put 'org.couchdb.user' in route address for some reason
|
||||
if (req.params.argument.split(':')[0] !== 'org.couchdb.user') return next('route')
|
||||
|
||||
if (req.remoteUser == null) {
|
||||
res.status(403)
|
||||
return res.send({
|
||||
|
|
Loading…
Add table
Reference in a new issue