diff --git a/lib/index.js b/lib/index.js index 9a70450ec..86e5b88ed 100644 --- a/lib/index.js +++ b/lib/index.js @@ -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({