showing results for - "passport middleware check if authenticated"
Christian
08 Jul 2019
1//just for me lol
2app.post("/login", passport.authenticate("local", {
3	successRedirect: "/secret", 
4	failureRedirect: "/login"
5	}), function(req,res){
6	//don't need to add anything
7});