mirror of
https://github.com/kaythomas0/noisedash.git
synced 2025-11-19 14:38:03 +00:00
Add session authentication
This commit is contained in:
@@ -40,7 +40,6 @@ app.use(function (req, res, next) {
|
||||
})
|
||||
app.use(passport.initialize())
|
||||
app.use(passport.authenticate('session'))
|
||||
//app.use(passport.session());
|
||||
|
||||
// Define routes
|
||||
app.use('/', indexRouter)
|
||||
|
||||
Reference in New Issue
Block a user