port frontend changes from different project
This commit is contained in:
1 parent
e27ac4b81f
commit
9dab26b122
29 files changed
+1056
-568
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user