Vérifier le middleware de passeport s'il est authentifié

//just for me lol
app.post("/login", passport.authenticate("local", {
	successRedirect: "/secret", 
	failureRedirect: "/login"
	}), function(req,res){
	//don't need to add anything
}); 
Mocat