mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-03-19 00:18:34 +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
|
// register passport in express-session
|
||||||
app.use(passport.session())
|
app.use(passport.session())
|
||||||
// config passport.js
|
// config passport.js
|
||||||
this.auth.initPassportJs()
|
await this.auth.initPassportJs()
|
||||||
// use auth on all routes - not used now
|
// use auth on all routes - not used now
|
||||||
// app.use(passport.authenticate('session'))
|
// app.use(passport.authenticate('session'))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user