Fix add user

This commit is contained in:
Mattias Erming 2014-10-04 15:05:19 -07:00
parent eae1e661b7
commit 72354700f0

View File

@ -77,7 +77,7 @@ ClientManager.prototype.addUser = function(name, password) {
return false; return false;
} }
try { try {
var path = Helper.resolveHomePath("users", name); var path = Helper.HOME + "/users/" + name;
var user = { var user = {
user: name, user: name,
password: password || "", password: password || "",