port frontend changes from different project

This commit is contained in:
Hay1tsme
2024-01-09 15:54:34 -05:00
parent e27ac4b81f
commit 9dab26b122
29 changed files with 1056 additions and 568 deletions
+2 -2
View File
@@ -64,8 +64,8 @@ class UserData(BaseData):
return False
return result.fetchone()
def check_password(self, user_id: int, passwd: bytes = None) -> bool:
usr = self.get_user(user_id)
async def check_password(self, user_id: int, passwd: bytes = None) -> bool:
usr = await self.get_user(user_id)
if usr is None:
return False