1
0
Fork 0
forked from bton/matekasse
This commit is contained in:
2000-Trek 2023-06-14 19:22:08 +02:00
parent 24973d555d
commit 872d5e4044

View file

@ -67,7 +67,8 @@ def new_user():
@app.route("/removeuser", methods=['GET'])
def remove_user():
user_id = request.args.get("id")
c.execute(f"DELETE * FROM tags WHERE userid={user_id}") #Noch eine Bestätigung nötig
#Noch eine Bestätigung nötig
c.execute(f"DELETE * FROM tags WHERE userid={user_id}")
c.execute(f"DELETE * FROM users WHERE id={user_id}")
conn.commit()