aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar TOW 2019-04-03 10:19:08 -0300
committerLibravatar TOW 2019-04-03 10:19:08 -0300
commit0640ed8aa7ba0aaef5c74e2ce6b889796e171cc7 (patch)
tree81cce1be76c10d28c823c7eccd167003070d6dbd
parent429446611f1fe8739530fb78ef4fa501a57cb676 (diff)
downloadweabot-0640ed8aa7ba0aaef5c74e2ce6b889796e171cc7.tar.gz
weabot-0640ed8aa7ba0aaef5c74e2ce6b889796e171cc7.tar.xz
weabot-0640ed8aa7ba0aaef5c74e2ce6b889796e171cc7.zip
Manage bugfix
-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