mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-12-09 13:29:37 +00:00
Update passwordless root user check to user user.type instead of user.id
This commit is contained in:
parent
7a131880e5
commit
f42ab45e1b
2 changed files with 3 additions and 9 deletions
|
|
@ -139,7 +139,7 @@ class Server {
|
|||
const app = express()
|
||||
|
||||
// parse cookies in requests
|
||||
app.use(cookieParser());
|
||||
app.use(cookieParser())
|
||||
// enable express-session
|
||||
app.use(expressSession({
|
||||
secret: global.ServerSettings.tokenSecret,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue