make it so that appeals always go through post.php

Originally, appeals would not go through if made through banned.php, so routing everything through one place.
This commit is contained in:
RealAngeleno 2023-06-01 23:24:09 -07:00 committed by -
parent 2d6bb46e14
commit e825d04f7c

View File

@ -133,7 +133,7 @@
{% else %} {% else %}
<p>{% trans %}You may appeal this ban. Please enter your reasoning below.{% endtrans %}</p> <p>{% trans %}You may appeal this ban. Please enter your reasoning below.{% endtrans %}</p>
{% endif %} {% endif %}
<form class="ban-appeal" action="" method="post"> <form class="ban-appeal" action="{{ config.file_post }}" method="post">
<input type="hidden" name="ban_id" value="{{ ban.id }}"> <input type="hidden" name="ban_id" value="{{ ban.id }}">
<textarea name="appeal" rows="4" cols="40" maxlength="{{ config.appeal_text_max_length }}"></textarea> <textarea name="appeal" rows="4" cols="40" maxlength="{{ config.appeal_text_max_length }}"></textarea>
<input type="submit" value="Submit"> <input type="submit" value="Submit">