Updated account

This commit is contained in:
Tracker-Friendly 2023-11-20 18:18:52 +00:00
parent 1f389e1239
commit 55d6d8bd4f
1 changed files with 1 additions and 1 deletions

View File

@ -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