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