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
1 changed files with 2 additions and 1 deletions

View File

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