From 55d6d8bd4f380a4702d9a3e204904dec6b0a381c Mon Sep 17 00:00:00 2001 From: Tracker-Friendly Date: Mon, 20 Nov 2023 18:18:52 +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 7dfc6d6..5b0f9f9 100644 --- a/account/account.py +++ b/account/account.py @@ -164,7 +164,7 @@ def register(): verifyhash = request.form.get('passwordhash') password = request.form.get('password') - passwordhash = fetch_hash_from_database(key_to_fetch) + passwordhash = fetch_hash_from_database(username) if password == passwordhash: # Attempt to change the password