mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-11-07 16:44:16 +01:00
add missing await
This commit is contained in:
parent
7af3033f8d
commit
763c0f4a3d
@ -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'))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user