add missing await

This commit is contained in:
lukeIam 2023-09-16 18:51:29 +00:00
parent 7af3033f8d
commit 763c0f4a3d

View File

@ -154,7 +154,7 @@ class Server {
// register passport in express-session
app.use(passport.session())
// config passport.js
this.auth.initPassportJs()
await this.auth.initPassportJs()
// use auth on all routes - not used now
// app.use(passport.authenticate('session'))