Added text to href in removeuser/confirmation

This commit is contained in:
2000-Trek 2023-06-14 19:57:45 +02:00
parent fe9ca4928c
commit 21f44533b3

View file

@ -67,7 +67,7 @@ def new_user():
@app.route("/removeuser/confirmation", methods=['GET']) @app.route("/removeuser/confirmation", methods=['GET'])
def confirm_remove_user(): def confirm_remove_user():
user_id = request.args.get("id") user_id = request.args.get("id")
return f'<a href="/removeuser?id={user_id}"></a>' return f'Do your realy want to<a href="/removeuser?id={user_id}">remove the user</a>'
@app.route("/removeuser", methods=['GET']) @app.route("/removeuser", methods=['GET'])
def remove_user(): def remove_user():