mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-19 11:21:27 +02:00
add missing await
This commit is contained in:
@@ -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'))
|
||||
|
||||
|
Reference in New Issue
Block a user