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:
parent
7e5227e4a1
commit
b740dd11cf
1 changed files with 0 additions and 5 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue