From 8bbfb9618c4141e9145471360ed75f0063facb92 Mon Sep 17 00:00:00 2001 From: YuviPanda Date: Sat, 13 Sep 2014 16:21:57 +0100 Subject: [PATCH] Don't echo password on commandline when reading --- src/command-line/add.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/command-line/add.js b/src/command-line/add.js index bb3093e5..b8b208b3 100644 --- a/src/command-line/add.js +++ b/src/command-line/add.js @@ -41,7 +41,8 @@ program return; } require("read")({ - prompt: "Password: " + prompt: "Password: ", + silent: true }, function(err, password) { console.log(""); if (err) {