From dd138ebad52ea526dd8273a3d6481ec5d7c0f4df Mon Sep 17 00:00:00 2001 From: Rasika Date: Wed, 10 Jun 2015 00:02:21 +0530 Subject: [PATCH] change user api --- .../repository/jaggeryapps/iot/api/user-api.jag | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/modules/distribution/src/repository/jaggeryapps/iot/api/user-api.jag b/modules/distribution/src/repository/jaggeryapps/iot/api/user-api.jag index 65b8186e..904d8dac 100644 --- a/modules/distribution/src/repository/jaggeryapps/iot/api/user-api.jag +++ b/modules/distribution/src/repository/jaggeryapps/iot/api/user-api.jag @@ -59,18 +59,10 @@ if (uriMatcher.match("/{context}/api/user/login/")) { emailAddress = addUserFormData.emailAddress; 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 { result = userModule.registerUser(username, firstname, lastname, emailAddress, password, userRoles);