Updated account
This commit is contained in:
parent
1f389e1239
commit
55d6d8bd4f
|
@ -164,7 +164,7 @@ def register():
|
||||||
verifyhash = request.form.get('passwordhash')
|
verifyhash = request.form.get('passwordhash')
|
||||||
password = request.form.get('password')
|
password = request.form.get('password')
|
||||||
|
|
||||||
passwordhash = fetch_hash_from_database(key_to_fetch)
|
passwordhash = fetch_hash_from_database(username)
|
||||||
|
|
||||||
if password == passwordhash:
|
if password == passwordhash:
|
||||||
# Attempt to change the password
|
# Attempt to change the password
|
||||||
|
|
Loading…
Reference in New Issue