Don't echo password on commandline when reading

This commit is contained in:
YuviPanda 2014-09-13 16:21:57 +01:00
parent 1e4ad44a01
commit 8bbfb9618c

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) {