mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 11:05:54 +01:00 
			
		
		
		
	closes #2304
This commit is contained in:
		| @@ -417,7 +417,7 @@ authenticationController.localLogin = function (req, username, password, next) { | ||||
| }; | ||||
|  | ||||
| authenticationController.logout = function (req, res, next) { | ||||
| 	if (!req.uid || !req.sessionID) { | ||||
| 	if (!req.loggedIn || !req.sessionID) { | ||||
| 		return res.status(200).send('not-logged-in'); | ||||
| 	} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user