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

remove outdated user existence check

doesn't work with htpasswd, and doesn't make sense with
future auth plugins

ref #115
This commit is contained in:
Alex Kocharin 2014-09-03 15:31:57 +04:00
parent 7e5227e4a1
commit b740dd11cf

View file

@ -75,11 +75,6 @@ function Config(config) {
Array.isArray(hash[action])
, 'CONFIG: bad "'+i+'" package '+action+' description (array or string expected)')
hash[action] = flatten(hash[action])
hash[action].forEach(function(user) {
assert(
users[user] != null
, 'CONFIG: "'+i+'" package: user "'+user+'" doesn\'t exist')
})
}
for (var i in this.packages) {