mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 10:16:11 +00:00
Fix auth pass to new server way
Still need to look into profile switch 401 error.
This commit is contained in:
parent
2d27ff78fd
commit
9227a8ae95
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ class ConnectionManager(object):
|
||||||
'url': self.get_emby_url(server, "Users/AuthenticateByName"),
|
'url': self.get_emby_url(server, "Users/AuthenticateByName"),
|
||||||
'json': {
|
'json': {
|
||||||
'username': username,
|
'username': username,
|
||||||
'password': hashlib.sha1(password or "").hexdigest()
|
'pw': password or ""
|
||||||
}
|
}
|
||||||
}, False)
|
}, False)
|
||||||
except Exception as error: # Failed to login
|
except Exception as error: # Failed to login
|
||||||
|
|
Loading…
Reference in a new issue