mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	
		
			
	
	
		
			11 lines
		
	
	
		
			206 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
		
		
			
		
	
	
			11 lines
		
	
	
		
			206 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
|  | const express = require('express'); | ||
|  | const router = express.Router(); | ||
|  | 
 | ||
|  | router.post('', async (req, res, next) => { | ||
|  |     req.session.loggedIn = false; | ||
|  | 
 | ||
|  |     res.redirect('login'); | ||
|  | }); | ||
|  | 
 | ||
|  | module.exports = router; |