frontend: user page fixes, add card display

This commit is contained in:
Hay1tsme
2023-05-20 15:32:02 -04:00
parent 97892d6a7d
commit 4da8622977
6 changed files with 61 additions and 7 deletions

View File

@ -79,6 +79,9 @@ class UserData(BaseData):
if usr["password"] is None:
return False
if passwd is None or not passwd:
return False
return bcrypt.checkpw(passwd, usr["password"].encode())