New API URL

This commit is contained in:
Kekskurse 2019-12-26 00:06:09 +01:00
parent 9eaa46bfc0
commit 13f3ab20db

View file

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