Better form for user submiting images, fix potential attack vector on bad file being resized and treated as an image

This commit is contained in:
2024-08-27 17:05:37 +02:00
parent e564c6604c
commit cc5df9b171
3 changed files with 179 additions and 171 deletions

View File

@ -61,6 +61,7 @@
<p>
{{ form[field_name].label }}
</p>
{{ form[field_name].errors }}
{%- else -%}
<em>{% trans %}To edit your profile picture, ask a member of the AE{% endtrans %}</em>
{%- endif -%}