Added text to href in removeuser/confirmation
This commit is contained in:
parent
fe9ca4928c
commit
21f44533b3
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -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():
|
||||||
|
|
Loading…
Reference in a new issue