mirror of
https://github.com/thelounge/thelounge
synced 2025-02-17 05:38:25 +00:00
command-line/add,reset: reword password prompt
This makes the password prompts not look like a root access password prompt.
This commit is contained in:
parent
e0031dd67e
commit
8293497ae9
2 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ program
|
|||
return;
|
||||
}
|
||||
require("read")({
|
||||
prompt: "Password: ",
|
||||
prompt: "[thelounge] Enter password: ",
|
||||
silent: true
|
||||
}, function(err, password) {
|
||||
if (!err) add(manager, name, password);
|
||||
|
|
|
@ -18,7 +18,7 @@ program
|
|||
var file = Helper.HOME + "/users/" + name + ".json";
|
||||
var user = require(file);
|
||||
require("read")({
|
||||
prompt: "Password: ",
|
||||
prompt: "[thelounge] New password: ",
|
||||
silent: true
|
||||
}, function(err, password) {
|
||||
console.log("");
|
||||
|
|
Loading…
Add table
Reference in a new issue