Merge pull request 'fixed creating new users using userEditor' (#10) from fix-creating-users into master

Reviewed-on: #10
pull/12/head
marek 2 years ago
commit 435e771e10

@ -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:

Loading…
Cancel
Save