Skip to content

Instantly share code, notes, and snippets.

Avatar

Rajitha Gunathilake RizkyRajitha

View GitHub Profile
View login
//bkend
router.post("/login1", function(req, res, next) {
passport.authenticate("local", function(err, user, info) {
console.log("ppppp");
if (err) {
console.log("error no user");
return next(err);
}