Fix add user
This commit is contained in:
parent
eae1e661b7
commit
72354700f0
@ -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 || "",
|
||||||
|
Loading…
Reference in New Issue
Block a user