mirror of
				https://github.com/Ylianst/MeshCentral.git
				synced 2025-03-09 15:40:18 +00:00 
			
		
		
		
	Made HTTPS strict configurable.
This commit is contained in:
		
							parent
							
								
									76ba7fa799
								
							
						
					
					
						commit
						92663a3690
					
				
					 3 changed files with 6 additions and 4 deletions
				
			
		|  | @ -385,7 +385,7 @@ module.exports.CreateMeshAgent = function (parent, db, ws, req, args, domain) { | |||
|                 obj.db.Set(obj.common.escapeLinksFieldName(mesh)); | ||||
|                 obj.parent.meshes[obj.dbMeshKey] = mesh; | ||||
| 
 | ||||
|                 if (adminUser.links == null) user.links = {}; | ||||
|                 if (adminUser.links == null) adminUser.links = {}; | ||||
|                 adminUser.links[obj.dbMeshKey] = { rights: 0xFFFFFFFF }; | ||||
|                 obj.db.SetUser(adminUser); | ||||
|                 obj.parent.parent.DispatchEvent(['*', obj.dbMeshKey, adminUser._id], obj, { etype: 'mesh', username: adminUser.name, meshid: obj.dbMeshKey, name: meshname, mtype: 2, desc: '', action: 'createmesh', links: links, msg: 'Mesh created: ' + obj.meshid, domain: domain.id }); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue