mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-12-15 08:19:37 +00:00
Editing accounts, change root account username, removed token expiration
This commit is contained in:
parent
838d188504
commit
4f094df0b2
13 changed files with 170 additions and 55 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue