mirror of
				https://github.com/Ylianst/MeshCentral.git
				synced 2025-03-09 15:40:18 +00:00 
			
		
		
		
	Fixed RDP/SSH use of saved credentials, #3924
This commit is contained in:
		
							parent
							
								
									b15a511493
								
							
						
					
					
						commit
						41b6b6a54a
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1966,9 +1966,9 @@ module.exports.CreateWebServer = function (parent, db, args, certificates, doneF
 | 
			
		|||
                    var serverCredentials = false;
 | 
			
		||||
                    if (domain.allowsavingdevicecredentials !== false) {
 | 
			
		||||
                        if (page == 'ssh') {
 | 
			
		||||
                            serverCredentials = ((typeof node.rdp == 'object') && (typeof node.rdp.d == 'string') && (typeof node.rdp.u == 'string') && (typeof node.rdp.p == 'string'))
 | 
			
		||||
                        } else {
 | 
			
		||||
                            serverCredentials = ((typeof node.ssh == 'object') && (typeof node.ssh.u == 'string'))
 | 
			
		||||
                        } else {
 | 
			
		||||
                            serverCredentials = ((typeof node.rdp == 'object') && (typeof node.rdp.d == 'string') && (typeof node.rdp.u == 'string') && (typeof node.rdp.p == 'string'))
 | 
			
		||||
                        }
 | 
			
		||||
                    }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue