Fix password reset
This commit is contained in:
parent
fbfb9056d1
commit
2b41e2e88e
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "shout",
|
"name": "shout",
|
||||||
"description": "A web IRC client",
|
"description": "A web IRC client",
|
||||||
"version": "0.27.1",
|
"version": "0.27.2",
|
||||||
"author": "Mattias Erming",
|
"author": "Mattias Erming",
|
||||||
"preferGlobal": true,
|
"preferGlobal": true,
|
||||||
"bin": {
|
"bin": {
|
||||||
|
@ -15,8 +15,7 @@ program
|
|||||||
console.log("");
|
console.log("");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var path = Helper.resolveHomePath("users");
|
var file = Helper.resolveHomePath("users/" + name + "/user.json");
|
||||||
var file = path + name + "/user.json";
|
|
||||||
var user = require(file);
|
var user = require(file);
|
||||||
require("read")({
|
require("read")({
|
||||||
prompt: "Password: "
|
prompt: "Password: "
|
||||||
|
Loading…
Reference in New Issue
Block a user