added warnings if no pwd setup for db, #936

This commit is contained in:
Baris Soner Usakli
2014-02-08 14:05:45 -05:00
parent 2630a72f81
commit c78942b7a4
2 changed files with 3 additions and 0 deletions

View File

@@ -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) {