|
@@ -49,12 +49,22 @@
|
49
|
49
|
|
50
|
50
|
luticateAuthUsers.edit = function(data, promise)
|
51
|
51
|
{
|
52
|
|
- return luticateRequest.post("/api/luticate/users/" + data.user_id + "/edit", null, data, promise);
|
|
52
|
+ return luticateRequest.post("/api/luticate/users/" + data.user_id + "/edit", data, null, promise);
|
53
|
53
|
};
|
54
|
54
|
|
55
|
55
|
luticateAuthUsers.add = function(data, promise)
|
56
|
56
|
{
|
57
|
|
- return luticateRequest.post("/api/luticate/users/add", null, data, promise);
|
|
57
|
+ return luticateRequest.post("/api/luticate/users/add", data, null, promise);
|
|
58
|
+ };
|
|
59
|
+
|
|
60
|
+ luticateAuthUsers.setPassword = function(data, promise)
|
|
61
|
+ {
|
|
62
|
+ return luticateRequest.post("/api/luticate/users/" + data.user_id + "/setPassword", data, null, promise);
|
|
63
|
+ };
|
|
64
|
+
|
|
65
|
+ luticateAuthUsers.del = function(data, promise)
|
|
66
|
+ {
|
|
67
|
+ return luticateRequest.post("/api/luticate/users/" + data.user_id + "/del", null, null, promise);
|
58
|
68
|
};
|
59
|
69
|
|
60
|
70
|
return luticateAuthUsers;
|