mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06: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"),
|
||||
'json': {
|
||||
'username': username,
|
||||
'password': hashlib.sha1(password or "").hexdigest()
|
||||
'pw': password or ""
|
||||
}
|
||||
}, False)
|
||||
except Exception as error: # Failed to login
|
||||
|
|
Loading…
Reference in a new issue