mirror of
				https://github.com/Ylianst/MeshCentral.git
				synced 2025-03-09 15:40:18 +00:00 
			
		
		
		
	Fixed missing initialization of new variable.
This commit is contained in:
		
							parent
							
								
									c50b3c0d26
								
							
						
					
					
						commit
						d3f115b3a2
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -2006,7 +2006,7 @@ module.exports.CreateMeshUser = function (parent, db, ws, req, args, domain, use
 | 
			
		|||
                    if (group != null) {
 | 
			
		||||
                        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) {
 | 
			
		||||
                            // Check if the user exists
 | 
			
		||||
                            var chguserid = 'user/' + addUserDomain.id + '/' + command.usernames[i].toLowerCase();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue