Fix auth pass to new server way

Still need to look into profile switch 401 error.
This commit is contained in:
angelblue05 2018-09-10 17:34:39 -05:00
parent 2d27ff78fd
commit 9227a8ae95
1 changed files with 1 additions and 1 deletions

View File

@ -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