change user api

merge-requests/1/head
Rasika 10 years ago
parent 8454bb2ea7
commit dd138ebad5

@ -59,18 +59,10 @@ if (uriMatcher.match("/{context}/api/user/login/")) {
emailAddress = addUserFormData.emailAddress; emailAddress = addUserFormData.emailAddress;
password = addUserFormData.password; password = addUserFormData.password;
//enable internal subscriptions for APIM
userRoleStr = "Internal/subscriber,Internal/everyone" ;
userRoles = String(userRoleStr).split(",");
<<<<<<< HEAD
=======
//enable internal subscriptions for APIM
userRoleStr = "Internal/subscriber,Internal/everyone" ;
userRoles = String(userRoleStr).split(",");
>>>>>>> f1bc4007d286384b865705772c640b09b10607d7
try { try {
result = userModule.registerUser(username, firstname, lastname, emailAddress, password, result = userModule.registerUser(username, firstname, lastname, emailAddress, password,
userRoles); userRoles);

Loading…
Cancel
Save