Fix password reset

This commit is contained in:
Mattias Erming 2014-09-13 15:41:22 -07:00
parent fbfb9056d1
commit 2b41e2e88e
2 changed files with 2 additions and 3 deletions

View File

@ -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": {

View File

@ -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: "