Passport.js Authentication Redirect Timeout Passport.js Authentication Redirect Timeout mongoose mongoose

Passport.js Authentication Redirect Timeout


I found it!! Turns out while searching for the answer to a previous error I had removed a set of parentheses in the below section of code...

passport.use(new LocalStrategy({  usernameField: 'email',  passwordField: 'password'},  User.authenticate))