diff --git a/libs/website.js b/libs/website.js index e99eb67..af956c9 100644 --- a/libs/website.js +++ b/libs/website.js @@ -134,7 +134,9 @@ module.exports = function(logger){ async.waterfall([ function(callback){ var client = redis.createClient(portalConfig.redis.port, portalConfig.redis.host); - client.auth(portalConfig.redis.password); + if (portalConfig.redis.password) { + client.auth(portalConfig.redis.password); + } client.hgetall('coinVersionBytes', function(err, coinBytes){ if (err){ client.quit();