merge-requests/1/head
Rasika Perera 9 years ago
commit a726beb345

@ -78,9 +78,9 @@ if (uriMatcher.match("/{context}/api/user/login/")) {
} else { } else {
userRoles = String(addUserFormData.userRoles).split(","); userRoles = String(addUserFormData.userRoles).split(",");
} }
userRoles=["deviceRole, deviceUser"];
//TODO-Apply new users, userRoles="deviceRole,deviceUser".split(",");
userRoles = [];
try { try {
result = userModule.registerUser(username, firstname, lastname, emailAddress, password, result = userModule.registerUser(username, firstname, lastname, emailAddress, password,
userRoles); userRoles);

Loading…
Cancel
Save