mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-25 22:55:52 -05:00
Fixed missing initialization of new variable.
This commit is contained in:
parent
c50b3c0d26
commit
d3f115b3a2
@ -2006,7 +2006,7 @@ module.exports.CreateMeshUser = function (parent, db, ws, req, args, domain, use
|
|||||||
if (group != null) {
|
if (group != null) {
|
||||||
if (group.links == null) { group.links = {}; }
|
if (group.links == null) { group.links = {}; }
|
||||||
|
|
||||||
var unknownUsers = [], addedCount = 0, failCount = 0, knownUsers;
|
var unknownUsers = [], addedCount = 0, failCount = 0, knownUsers = [];
|
||||||
for (var i in command.usernames) {
|
for (var i in command.usernames) {
|
||||||
// Check if the user exists
|
// Check if the user exists
|
||||||
var chguserid = 'user/' + addUserDomain.id + '/' + command.usernames[i].toLowerCase();
|
var chguserid = 'user/' + addUserDomain.id + '/' + command.usernames[i].toLowerCase();
|
||||||
|
Loading…
Reference in New Issue
Block a user