From b740dd11cf715fa6bcf6179bf5a30adcb004c8c1 Mon Sep 17 00:00:00 2001 From: Alex Kocharin Date: Wed, 3 Sep 2014 15:31:57 +0400 Subject: [PATCH] remove outdated user existence check doesn't work with htpasswd, and doesn't make sense with future auth plugins ref #115 --- lib/config.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/config.js b/lib/config.js index a634e20c..744dd420 100644 --- a/lib/config.js +++ b/lib/config.js @@ -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) {