mirror of
				https://github.com/Ylianst/MeshCentral.git
				synced 2025-03-09 15:40:18 +00:00 
			
		
		
		
	Improved web relay sharing (#4413)
This commit is contained in:
		
							parent
							
								
									5d7fabfc21
								
							
						
					
					
						commit
						4fe394226c
					
				
					 3 changed files with 15 additions and 4 deletions
				
			
		|  | @ -6610,6 +6610,7 @@ module.exports.CreateWebServer = function (parent, db, args, certificates, doneF | |||
|                         if (req.session.userid) { delete req.session.userid; }  // Clear the web relay userid
 | ||||
|                         if (req.session.z != webSessionId) { req.session.z = webSessionId; } // Set the web relay guest session
 | ||||
|                         expire = urlCookie.expire; | ||||
|                         if ((expire != null) && (expire <= Date.now())) { parent.debug('webrelay', 'expired link'); res.sendStatus(404); return; } | ||||
|                     } | ||||
| 
 | ||||
|                     // No session identifier was setup, exit now
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue