mirror of
				https://github.com/Ylianst/MeshCentral.git
				synced 2025-03-09 15:40:18 +00:00 
			
		
		
		
	Fixed default session renew timer.
This commit is contained in:
		
							parent
							
								
									b6cc60c1ac
								
							
						
					
					
						commit
						0e697167e9
					
				
					 6 changed files with 66 additions and 10 deletions
				
			
		|  | @ -558,9 +558,7 @@ module.exports.CreateMeshUser = function (parent, db, ws, req, args, domain, use | |||
|                     if ((user.siteadmin & 21) == 0) return; // Only site administrators with "site backup" or "site restore" or "site update" permissions can use this.
 | ||||
|                     if (common.validateInt(command.hours, 0, 24 * 30) == false) return; | ||||
|                     db.GetServerStats(command.hours, function (err, docs) { | ||||
|                         if (err == null) { | ||||
|                             try { ws.send(JSON.stringify({ action: 'servertimelinestats', events: docs })); } catch (ex) { } | ||||
|                         } | ||||
|                         if (err == null) { try { ws.send(JSON.stringify({ action: 'servertimelinestats', events: docs })); } catch (ex) { } } | ||||
|                     }); | ||||
|                     break; | ||||
|                 } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue