added warnings if no pwd setup for db, #936

v1.18.x
Baris Soner Usakli 11 years ago
parent 2630a72f81
commit c78942b7a4

@ -44,6 +44,7 @@
createIndices();
});
} else {
winston.warn('You have no mongo password setup!');
createIndices();
}

@ -32,6 +32,8 @@
if (nconf.get('redis:password')) {
redisClient.auth(nconf.get('redis:password'));
} else {
winston.warn('You have no redis password setup!');
}
redisClient.on('error', function (err) {

Loading…
Cancel
Save