mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-07 21:51:14 -07:00
Fix jwt encoding
This commit is contained in:
parent
6d0fcf0970
commit
d2e84886f6
1 changed files with 1 additions and 1 deletions
|
@ -387,7 +387,7 @@ class AuthController(object):
|
|||
'exp': expiry
|
||||
}
|
||||
|
||||
jwt_token = jwt.encode(payload, plexpy.CONFIG.JWT_SECRET, algorithm=JWT_ALGORITHM).decode('utf-8')
|
||||
jwt_token = jwt.encode(payload, plexpy.CONFIG.JWT_SECRET, algorithm=JWT_ALGORITHM)
|
||||
|
||||
self.on_login(username=user_details['username'],
|
||||
user_id=user_details['user_id'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue