mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-22 16:34:10 +01:00
Update:JWT signing
This commit is contained in:
1 parent
86ee4dcff2
commit
9e7b84f289
9 files changed
+76
-24
No files matched your search
@@ -242,7 +242,7 @@ class MiscController {
|
||||
const userResponse = {
|
||||
user: req.user,
|
||||
userDefaultLibraryId: req.user.getDefaultLibraryId(this.db.libraries),
|
||||
serverSettings: this.db.serverSettings.toJSON(),
|
||||
serverSettings: this.db.serverSettings.toJSONForBrowser(),
|
||||
Source: global.Source
|
||||
}
|
||||
res.json(userResponse)
|
||||
|
||||
Reference in new issue
Block a user