Merge pull request #230 from williamboman/fix/password-prompt
command-line/add,reset: reword password prompt
This commit is contained in:
commit
49a62c4015
@ -39,7 +39,7 @@ program
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
require("read")({
|
require("read")({
|
||||||
prompt: "Password: ",
|
prompt: "[thelounge] Enter password: ",
|
||||||
silent: true
|
silent: true
|
||||||
}, function(err, password) {
|
}, function(err, password) {
|
||||||
if (!err) add(manager, name, password);
|
if (!err) add(manager, name, password);
|
||||||
|
@ -18,7 +18,7 @@ program
|
|||||||
var file = Helper.HOME + "/users/" + name + ".json";
|
var file = Helper.HOME + "/users/" + name + ".json";
|
||||||
var user = require(file);
|
var user = require(file);
|
||||||
require("read")({
|
require("read")({
|
||||||
prompt: "Password: ",
|
prompt: "[thelounge] New password: ",
|
||||||
silent: true
|
silent: true
|
||||||
}, function(err, password) {
|
}, function(err, password) {
|
||||||
console.log("");
|
console.log("");
|
||||||
|
Loading…
Reference in New Issue
Block a user