Updated account
This commit is contained in:
parent
55d6d8bd4f
commit
ed0ea07fab
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue