I believe we still have some flash messaging from when we had a frontend for the login
This is the error I got when I typed the wrong password when logging in
events.js:183
throw er; // Unhandled 'error' event
^
TypeError: req.flash is not a function
at /Users/ericksanc/Developer/My Projects/Breezy Travelers/breezy-traveler-api/src/config/passport.js:73:40
at /Users/ericksanc/Developer/My Projects/Breezy Travelers/breezy-traveler-api/node_modules/mongoose/lib/model.js:4518:16
at process.nextTick (/Users/ericksanc/Developer/My Projects/Breezy Travelers/breezy-traveler-api/node_modules/mongoose/lib/query.js:2579:28)
at _combinedTickCallback (internal/process/next_tick.js:131:7)
at process._tickCallback (internal/process/next_tick.js:180:9)
I believe we still have some
flash
messaging from when we had a frontend for the loginThis is the error I got when I typed the wrong password when logging in