aboutsummaryrefslogtreecommitdiff
path: root/cgi
diff options
context:
space:
mode:
Diffstat (limited to 'cgi')
-rw-r--r--cgi/manage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi/manage.py b/cgi/manage.py
index 95a9010..4361f98 100644
--- a/cgi/manage.py
+++ b/cgi/manage.py
@@ -1914,7 +1914,7 @@ def verifyPasswd(username, passwd):
if ph.check_needs_rehash(staff_account['password']):
param_new_hash = ph.hash(staff_acount['password'])
- UpdateDb("UPDATE staff SET password = '%s' WHERE id = %d" %
+ UpdateDb("UPDATE staff SET password = '%s' WHERE id = %s" %
(param_new_hash, staff_account['id']))
return staff_account