mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-29 22:29:31 +02:00
add missing await
This commit is contained in:
parent
7af3033f8d
commit
763c0f4a3d
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue