Don't echo password on commandline when reading
This commit is contained in:
parent
1e4ad44a01
commit
8bbfb9618c
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user