Also change salt function to new API

This commit is contained in:
Fabian Stamm 2018-10-05 22:03:31 +00:00
parent ee05110963
commit 31b23d80ed
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ class Auth(BaseAuth):
if user is None:
return False
res1 = requests.post(self.get_server() + "/api/login?uid=" + user)
res1 = requests.post(self.get_server() + "/api/login?type=username&uid=" + user)
data1 = res1.json()
if "error" in data1: