Updated account
This commit is contained in:
parent
55d6d8bd4f
commit
ed0ea07fab
|
@ -166,7 +166,7 @@ def register():
|
||||||
|
|
||||||
passwordhash = fetch_hash_from_database(username)
|
passwordhash = fetch_hash_from_database(username)
|
||||||
|
|
||||||
if password == passwordhash:
|
if verifyhash == passwordhash:
|
||||||
# Attempt to change the password
|
# Attempt to change the password
|
||||||
if change_email_password(username, password):
|
if change_email_password(username, password):
|
||||||
# Password changed
|
# Password changed
|
||||||
|
|
Loading…
Reference in New Issue