mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-03-04 02:22:09 +01: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