mirror of
				https://github.com/Ylianst/MeshCentral.git
				synced 2025-03-09 15:40:18 +00:00 
			
		
		
		
	Logout will not redirect to /login (#4420)
This commit is contained in:
		
							parent
							
								
									93efc2e6a0
								
							
						
					
					
						commit
						8d1eab20e5
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -768,7 +768,7 @@ module.exports.CreateWebServer = function (parent, db, args, certificates, doneF | |||
|         } | ||||
| 
 | ||||
|         // This is the default logout redirect to the login page
 | ||||
|         if (req.query.key != null) { res.redirect(domain.url + '?key=' + req.query.key); } else { res.redirect(domain.url); } | ||||
|         if (req.query.key != null) { res.redirect(domain.url + 'login?key=' + req.query.key); } else { res.redirect(domain.url + 'login'); } | ||||
|     } | ||||
| 
 | ||||
|     // Return an object with 2FA type if 2-step auth can be skipped
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue