world map
This commit is contained in:
		@@ -112,4 +112,4 @@ const startChat = async () => {
 | 
			
		||||
    })
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export default startChat;
 | 
			
		||||
export default startChat;
 | 
			
		||||
 
 | 
			
		||||
@@ -17,6 +17,9 @@ const authenticate = async (req, res, next) => {
 | 
			
		||||
        next();
 | 
			
		||||
    } catch(e) {
 | 
			
		||||
        console.log(e)
 | 
			
		||||
	req.session.destroy();
 | 
			
		||||
        res.clearCookie("jwt");
 | 
			
		||||
        return res.redirect("/login");
 | 
			
		||||
    }
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
@@ -44,4 +47,4 @@ const canHaveCloak = async (req, res, next) => {
 | 
			
		||||
    next();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export default {authenticate, validateInviteToken, canHaveCloak};
 | 
			
		||||
export default {authenticate, validateInviteToken, canHaveCloak};
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user