mirror of
				https://gitlab.com/MrFry/mrfrys-node-server
				synced 2025-04-01 20:24:18 +02:00 
			
		
		
		
	Added "test" user checking, unathorized http return code
This commit is contained in:
		| @@ -6,6 +6,7 @@ module.exports = function (options) { | ||||
|   const { userDB, jsonResponse, exceptions } = options | ||||
|  | ||||
|   const renderLogin = (req, res) => { | ||||
|     res.status('401') // Unauthorized | ||||
|     if (jsonResponse) { | ||||
|       res.json({ | ||||
|         result: 'nouser', | ||||
|   | ||||
		Reference in New Issue
	
	Block a user