From 0640ed8aa7ba0aaef5c74e2ce6b889796e171cc7 Mon Sep 17 00:00:00 2001 From: TOW Date: Wed, 3 Apr 2019 10:19:08 -0300 Subject: Manage bugfix --- cgi/manage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1-18-gbd029