This commit is contained in:
2000-Trek 2023-06-14 18:27:45 +02:00
parent 9233e716b2
commit 6ab51e7e99

View file

@ -64,7 +64,7 @@ def user_info():
def new_user(): def new_user():
return render_template("adduser.html") return render_template("adduser.html")
@app.route("/removeuser", methode=['GET']) @app.route("/removeuser", methodes=['GET'])
def remove_user(): def remove_user():
user_id = request.args.get("id") user_id = request.args.get("id")
c.execute(f"DELETE * FROM tags WHERE (userid = {user_id}) ") #Ist hier noch eine Bestätigung nötig? c.execute(f"DELETE * FROM tags WHERE (userid = {user_id}) ") #Ist hier noch eine Bestätigung nötig?