mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-13 00:32:58 -07:00
Fix form login using Plex.tv credentials
This commit is contained in:
parent
6d23ef9105
commit
eeff665680
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ class PlexTV(object):
|
|||
uri = '/users/sign_in.xml'
|
||||
base64string = base64.b64encode(('%s:%s' % (self.username, self.password)).encode('utf-8'))
|
||||
headers = {'Content-Type': 'application/xml; charset=utf-8',
|
||||
'Authorization': 'Basic %s' % base64string}
|
||||
'Authorization': 'Basic %s' % base64string.decode('utf-8')}
|
||||
|
||||
request = self.request_handler.make_request(uri=uri,
|
||||
request_type='POST',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue