|
@@ -69,11 +69,26 @@
|
69
|
69
|
return luticateRequest.get("/api/luticate/users", data, promise);
|
70
|
70
|
};
|
71
|
71
|
|
|
72
|
+ luticateAuthUsers.get = function(data, promise)
|
|
73
|
+ {
|
|
74
|
+ return luticateRequest.get("/api/luticate/users/" + data.user_id, null, promise);
|
|
75
|
+ };
|
|
76
|
+
|
|
77
|
+ luticateAuthUsers.getMe = function(promise)
|
|
78
|
+ {
|
|
79
|
+ return luticateRequest.get("/api/luticate/users/me", null, promise);
|
|
80
|
+ };
|
|
81
|
+
|
72
|
82
|
luticateAuthUsers.edit = function(data, promise)
|
73
|
83
|
{
|
74
|
84
|
return luticateRequest.post("/api/luticate/users/" + data.user_id + "/edit", data, null, promise);
|
75
|
85
|
};
|
76
|
86
|
|
|
87
|
+ luticateAuthUsers.editMe = function(data, promise)
|
|
88
|
+ {
|
|
89
|
+ return luticateRequest.post("/api/luticate/users/me/edit", data, null, promise);
|
|
90
|
+ };
|
|
91
|
+
|
77
|
92
|
luticateAuthUsers.add = function(data, promise)
|
78
|
93
|
{
|
79
|
94
|
return luticateRequest.post("/api/luticate/users/add", data, null, promise);
|
|
@@ -84,6 +99,11 @@
|
84
|
99
|
return luticateRequest.post("/api/luticate/users/" + data.user_id + "/setPassword", data, null, promise);
|
85
|
100
|
};
|
86
|
101
|
|
|
102
|
+ luticateAuthUsers.setPasswordMe = function(data, promise)
|
|
103
|
+ {
|
|
104
|
+ return luticateRequest.post("/api/luticate/users/me/setPassword", data, null, promise);
|
|
105
|
+ };
|
|
106
|
+
|
87
|
107
|
luticateAuthUsers.del = function(data, promise)
|
88
|
108
|
{
|
89
|
109
|
return luticateRequest.post("/api/luticate/users/" + data.user_id + "/del", null, null, promise);
|