mirror of
				https://github.com/Ylianst/MeshCentral.git
				synced 2025-03-09 15:40:18 +00:00 
			
		
		
		
	Added PreconfiguredRemoteInput #3264
This commit is contained in:
		
							parent
							
								
									966392b779
								
							
						
					
					
						commit
						eece5412f4
					
				
					 4 changed files with 52 additions and 2 deletions
				
			
		|  | @ -548,6 +548,7 @@ module.exports.CreateMeshUser = function (parent, db, ws, req, args, domain, use | |||
|             if (typeof domain.terminal == 'object') { // Settings used for remote terminal feature
 | ||||
|                 if ((typeof domain.terminal.linuxshell == 'string') && (domain.terminal.linuxshell != 'any')) { serverinfo.linuxshell = domain.terminal.linuxshell; } | ||||
|             } | ||||
|             if (Array.isArray(domain.preconfiguredremoteinput)) { serverinfo.preConfiguredRemoteInput = domain.preconfiguredremoteinput; } | ||||
| 
 | ||||
|             // Send server information
 | ||||
|             try { ws.send(JSON.stringify({ action: 'serverinfo', serverinfo: serverinfo })); } catch (ex) { } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue