Skip to content

Node.js based forum software built for the modern web

mongo/redis - don't show passwords when typing in CLI

psychobunnyf892a6793aa4
diff --git a/src/database/mongo.js b/src/database/mongo.js
index f0bc7c48a4..5b25ae9284 100644
--- a/src/database/mongo.js
+++ b/src/database/mongo.js
@@ -28,7 +28,8 @@
},
{
name: 'mongo:password',
- description: 'Password of your MongoDB database'
+ description: 'Password of your MongoDB database',
+ hidden: true
},
{
name: "mongo:database",
diff --git a/src/database/redis.js b/src/database/redis.js
index 1b0bf1e53d..4d05c00f5d 100644
--- a/src/database/redis.js
+++ b/src/database/redis.js
@@ -28,7 +28,8 @@
},
{
name: 'redis:password',
- description: 'Password of your Redis database'
+ description: 'Password of your Redis database',
+ hidden: true
},
{
name: "redis:database",