In my application I use
app.use(express.json()); app.use(express.urlencoded());
but not
app.use(express.bodyParser());
so that I can manually parse the file upload. This line seems to be
app.use(passport.session());
ceases to be formidable when triggering file events:
form.on('file', function(name, file) {
How can I use a passport session and not face a formidable file event?
Marwan roushdy
source share