this._verify is not a function on login
问题 I am trying to make a CRUD app for my portfolio. I want the user to be able to sign up and login and then to some stuff once inside (its a calories tracker). The user can Sign Up but when I try to login, I get: this.verify is not a function Here is the login code: // Authenticate Login app.post("/login", (req, res, next) => { passport.authenticate("local", { successRedirect: "/myprofile", failureRedirect: "/login", failureFlash: true })(req, res, next); }); The passport.js const LocalStrategy