This commit is contained in:
2025-11-06 22:53:16 +03:00
parent fb831e4fab
commit 95cf7c5956

View File

@ -52,12 +52,7 @@ class IPAToolClient(BaseAsyncClient):
return False return False
async def auth_check(self, user: str) -> bool: async def auth_check(self, user: str) -> bool:
r = await self._post( r = await self._post("/auth/check", params={"user": user})
"/auth/check",
params={
"user": user,
},
)
if r.status != 200: if r.status != 200:
return False return False
json_data = await r.json() json_data = await r.json()