|
|
@ -149,7 +149,7 @@ def alterUser(userID):
|
|
|
|
s = 'insert into users (username, password) '
|
|
|
|
s = 'insert into users (username, password) '
|
|
|
|
s += 'values (:name, :password);'
|
|
|
|
s += 'values (:name, :password);'
|
|
|
|
s = text(s)
|
|
|
|
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()
|
|
|
|
r.close()
|
|
|
|
return '{"status":"ok"}'
|
|
|
|
return '{"status":"ok"}'
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|