mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-22 08:31:41 +01:00
Fix use first accessible library depending on display order, default library id checked on server when authenticating
This commit is contained in:
1 parent
0dd219f303
commit
08e1782253
7 files changed
+22
-24
No files matched your search
@@ -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