Commit 8d15804f authored by okhin's avatar okhin 🚴

Removing the borked call on password check

parent f0d81570
Pipeline #951 passed with stage
in 5 seconds
......@@ -495,7 +495,7 @@ def login_admin(user, password):
if user is None:
# user does not exist
return False
if password.encode != user[1]:
if password != user[1]:
# password does not match
return False
if user[2] == 0:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment