forked from bton/matekasse
kp was ich gemacht habe
This commit is contained in:
parent
2c81110987
commit
e91905089d
4 changed files with 19 additions and 6 deletions
|
@ -134,11 +134,6 @@ def create_app(test_config=None):
|
|||
def new_user():
|
||||
return render_template("adduser.html")
|
||||
|
||||
@app.route("/removeuser/confirmation", methods=['GET'])
|
||||
def confirm_remove_user():
|
||||
user_id = request.args.get("id")
|
||||
return f'<p><a href="/list">user and tag list</a> | <a href="/documentation">Documentation</a></p> <p>Do your realy want to <a href="/removeuser?id={user_id}">remove the user</a></p>'
|
||||
|
||||
@app.route("/removeuser", methods=['GET'])
|
||||
def remove_user():
|
||||
db = get_db()
|
||||
|
|
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue