Hidden password reset
This commit is contained in:
parent
524cb14870
commit
136213da73
@ -18,7 +18,8 @@ program
|
|||||||
var file = Helper.resolveHomePath("users/" + name + "/user.json");
|
var file = Helper.resolveHomePath("users/" + name + "/user.json");
|
||||||
var user = require(file);
|
var user = require(file);
|
||||||
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