forked from Hay1tsme/artemis
frontend: user page fixes, add card display
This commit is contained in:
@ -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())
|
||||
|
||||
|
Reference in New Issue
Block a user