Kostanjevec 2022-05-22 16:55:09 +02:00
parent 0e58adb0e0
commit 0e6f4ce192
1 changed files with 0 additions and 1 deletions

View File

@ -54,7 +54,6 @@ def login():
error = None
user = dbsession.query(User).filter(User.username == username).first()
if user is None:
error = 'Incorrect username.'
elif not user.password == md5(password.encode("utf-8")).hexdigest(): #compare input pw has and bd pw hash