diff --git a/account/account.py b/account/account.py index 5b0f9f9..8446b36 100644 --- a/account/account.py +++ b/account/account.py @@ -166,7 +166,7 @@ def register(): passwordhash = fetch_hash_from_database(username) - if password == passwordhash: + if verifyhash == passwordhash: # Attempt to change the password if change_email_password(username, password): # Password changed