forked from bton/matekasse
Last fix for html escape
This commit is contained in:
parent
6d0b42b5a5
commit
fb71a56030
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -123,7 +123,7 @@ def remove_user():
|
||||||
db_log.info(f"Deleted user {user_id}")
|
db_log.info(f"Deleted user {user_id}")
|
||||||
conn.commit()
|
conn.commit()
|
||||||
socketio.emit("update", "update")
|
socketio.emit("update", "update")
|
||||||
return f'<p>Deleted user {user_name}</p><a href="/list">return to the tags and user list</a>'
|
return f'<p>Deleted user {escape(user_name)}</p><a href="/list">return to the tags and user list</a>'
|
||||||
else:
|
else:
|
||||||
return "Error: 043"
|
return "Error: 043"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue