Open wo1vin opened 10 months ago
Many of the mongoose queries no longer accept callbacks, so they must be updated to promise or async/await.
The LocalStrategy for Passport needs to be updated because of this. (config/passport.js Line 7)
Resources:
https://mongoosejs.com/docs/api/model.html#Model.findOne()
https://www.passportjs.org/howtos/password/
Many of the mongoose queries no longer accept callbacks, so they must be updated to promise or async/await.
The LocalStrategy for Passport needs to be updated because of this. (config/passport.js Line 7)