Merge pull request #124 from yuvipanda/no-echo-password

Don't echo password on commandline when reading
This commit is contained in:
Mattias Erming 2014-09-13 18:06:46 +02:00
commit 1273685273

View File

@ -41,7 +41,8 @@ program
return; return;
} }
require("read")({ require("read")({
prompt: "Password: " prompt: "Password: ",
silent: true
}, function(err, password) { }, function(err, password) {
console.log(""); console.log("");
if (err) { if (err) {