Hidden password reset

This commit is contained in:
Mattias Erming 2014-09-13 17:09:21 -07:00
parent 524cb14870
commit 136213da73

View File

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