|
|
@ -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);
|
|
|
|