:marseyjanny:

This commit is contained in:
atrc445 2021-09-05 11:49:48 +02:00
parent 13773f28fa
commit 3787205718
4 changed files with 5 additions and 5 deletions

View file

@ -694,7 +694,7 @@ def ban_user(user_id, v):
# check for number of days for suspension
days = int(request.form.get("days")) if request.form.get('days') else 0
reason = request.values.get("reason", "")
reason = sanitize(request.values.get("reason", ""))
message = request.values.get("reason", "")
if not user: abort(400)