From 81409dc448a5d031307ed36eaaf3787d8b304d8d Mon Sep 17 00:00:00 2001 From: Marek Baczynski Date: Wed, 5 Apr 2023 19:20:53 +0200 Subject: [PATCH] fixed creating new users using userEditor --- parts/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parts/server.py b/parts/server.py index 94e5e20..0f5d227 100755 --- a/parts/server.py +++ b/parts/server.py @@ -149,7 +149,7 @@ def alterUser(userID): s = 'insert into users (username, password) ' s += 'values (:name, :password);' s = text(s) - r = db_engine.execute(s,username=request.form['name'],password=request.form['password']); + r = db_engine.execute(s,name=request.form['name'],password=request.form['password']); r.close() return '{"status":"ok"}' else: