mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 19:46:01 +01:00
added warnings if no pwd setup for db, #936
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user