From f892a6793aa4e9b72f0666b2603024ab05943fa3 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Mon, 14 Apr 2014 20:33:02 -0400 Subject: [PATCH] mongo/redis - don't show passwords when typing in CLI --- src/database/mongo.js | 3 ++- src/database/redis.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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",