Adjusting to openauth api change
This commit is contained in:
parent
1f487ff803
commit
5d30ebc8f0
@ -37,7 +37,7 @@ class Auth(BaseAuth):
|
||||
if login is None or login is "":
|
||||
return None
|
||||
req_data = dict()
|
||||
res = requests.post(self.get_server() + "/api/login?username=" + login)
|
||||
res = requests.post(self.get_server() + "/api/login?type=username?username=" + login)
|
||||
data = res.json()
|
||||
if "error" in data:
|
||||
return None
|
||||
|
Loading…
Reference in New Issue
Block a user