mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-08 23:04:51 +02:00
Fix use first accessible library depending on display order, default library id checked on server when authenticating
This commit is contained in:
@ -168,7 +168,7 @@ class MiscController {
|
||||
Logger.error('Invalid user in authorize')
|
||||
return res.sendStatus(401)
|
||||
}
|
||||
res.json({ user: req.user })
|
||||
res.json({ user: req.user, userDefaultLibraryId: req.user.getDefaultLibraryId(this.db.libraries) })
|
||||
}
|
||||
|
||||
getAllTags(req, res) {
|
||||
|
Reference in New Issue
Block a user