Add session authentication

This commit is contained in:
Kevin Thomas
2021-07-29 22:24:39 -07:00
parent 2439fc8813
commit a9adbdc856
5 changed files with 10 additions and 18 deletions

View File

@@ -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)