New API URL
This commit is contained in:
parent
9eaa46bfc0
commit
13f3ab20db
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ import requests
|
||||||
|
|
||||||
class Auth(BaseAuth):
|
class Auth(BaseAuth):
|
||||||
def is_authenticated(self, user, password):
|
def is_authenticated(self, user, password):
|
||||||
res = requests.post("https://api.account.keks.cloud/api/v1/user/check", {"username": user, "password": password})
|
res = requests.post("https://account.keks.cloud/api/v1/user/check", {"username": user, "password": password})
|
||||||
if res.status_code == 200:
|
if res.status_code == 200:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
Reference in a new issue