From ed0ea07fab2c6ef76ec45cfccfe02e88f0331d48 Mon Sep 17 00:00:00 2001 From: Tracker-Friendly Date: Mon, 20 Nov 2023 18:19:42 +0000 Subject: [PATCH] Updated account --- account/account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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