diff options
author | TOW | 2019-04-03 10:19:08 -0300 |
---|---|---|
committer | TOW | 2019-04-03 10:19:08 -0300 |
commit | 0640ed8aa7ba0aaef5c74e2ce6b889796e171cc7 (patch) | |
tree | 81cce1be76c10d28c823c7eccd167003070d6dbd /cgi | |
parent | 429446611f1fe8739530fb78ef4fa501a57cb676 (diff) | |
download | weabot-0640ed8aa7ba0aaef5c74e2ce6b889796e171cc7.tar.gz weabot-0640ed8aa7ba0aaef5c74e2ce6b889796e171cc7.tar.xz weabot-0640ed8aa7ba0aaef5c74e2ce6b889796e171cc7.zip |
Manage bugfix
Diffstat (limited to 'cgi')
-rw-r--r-- | cgi/manage.py | 2 |
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 |