mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-12-01 04:34:07 +01:00
Editing accounts, change root account username, removed token expiration
This commit is contained in:
1 parent
e534d015be
commit
1f2afe4d92
13 files changed
+170
-55
No files matched your search
+1
-1
@@ -68,7 +68,7 @@ class Auth {
|
||||
}
|
||||
|
||||
generateAccessToken(payload) {
|
||||
return jwt.sign(payload, process.env.TOKEN_SECRET, { expiresIn: '1800s' });
|
||||
return jwt.sign(payload, process.env.TOKEN_SECRET);
|
||||
}
|
||||
|
||||
verifyToken(token) {
|
||||
|
||||
Reference in new issue
Block a user