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