mirror of
				https://github.com/Ylianst/MeshCentral.git
				synced 2025-03-09 15:40:18 +00:00 
			
		
		
		
	Fixed 2fahold.aspx port number.
This commit is contained in:
		
							parent
							
								
									1356dae4f2
								
							
						
					
					
						commit
						629aba7fc8
					
				
					 2 changed files with 2 additions and 4 deletions
				
			
		|  | @ -3486,8 +3486,8 @@ function mainStart() { | |||
|             if (config.domains[i].sendgrid != null) { sendgrid = true; } | ||||
|             if (config.domains[i].yubikey != null) { yubikey = true; } | ||||
|             if (config.domains[i].auth == 'ldap') { ldap = true; } | ||||
|             if (config.domains[i].mstsc === true) { mstsc = true; } | ||||
|             if (config.domains[i].ssh === true) { if (nodeVersion < 11) { config.domains[i].ssh = false; } ssh = true; } | ||||
|             if (config.domains[i].mstsc == true) { mstsc = true; } | ||||
|             if (config.domains[i].ssh == true) { if (nodeVersion < 11) { config.domains[i].ssh = false; } else { ssh = true; } } | ||||
|             if ((typeof config.domains[i].authstrategies == 'object')) { | ||||
|                 if (passport == null) { passport = ['passport']; } | ||||
|                 if ((typeof config.domains[i].authstrategies.twitter == 'object') && (typeof config.domains[i].authstrategies.twitter.clientid == 'string') && (typeof config.domains[i].authstrategies.twitter.clientsecret == 'string') && (passport.indexOf('passport-twitter') == -1)) { passport.push('passport-twitter'); } | ||||
|  |  | |||
|  | @ -1105,8 +1105,6 @@ module.exports.CreateWebServer = function (parent, db, args, certificates, doneF | |||
| 
 | ||||
|                         // Get the HTTPS port
 | ||||
|                         var httpsPort = ((obj.args.aliasport == null) ? obj.args.port : obj.args.aliasport); // Use HTTPS alias port if specified
 | ||||
|                         if (obj.args.agentport != null) { httpsPort = obj.args.agentport; } // If an agent only port is enabled, use that.
 | ||||
|                         if (obj.args.agentaliasport != null) { httpsPort = obj.args.agentaliasport; } // If an agent alias port is specified, use that.
 | ||||
| 
 | ||||
|                         // Get the agent connection server name
 | ||||
|                         var serverName = obj.getWebServerName(domain); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue