aboutsummaryrefslogtreecommitdiff
path: root/cgi/manage.py
diff options
context:
space:
mode:
Diffstat (limited to 'cgi/manage.py')
-rw-r--r--cgi/manage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi/manage.py b/cgi/manage.py
index 81a0bd4..5818b64 100644
--- a/cgi/manage.py
+++ b/cgi/manage.py
@@ -2334,7 +2334,7 @@ def verifyPasswd(username, passwd):
raise UserError("Hash obsoleto o inválido. Por favor contacte al administrador.")
if ph.check_needs_rehash(staff_account['password']):
- param_new_hash = ph.hash(staff_acount['password'])
+ param_new_hash = ph.hash(passwd)
UpdateDb("UPDATE staff SET password = '%s' WHERE id = %s" %
(param_new_hash, staff_account['id']))