]> source.dussan.org Git - gitea.git/commit
Limit avatar upload to valid image files (#24258)
authorJakobDev <jakobdev@gmx.de>
Fri, 21 Apr 2023 21:58:59 +0000 (23:58 +0200)
committerGitHub <noreply@github.com>
Fri, 21 Apr 2023 21:58:59 +0000 (17:58 -0400)
commit02119ec95e559b1b6d4b48c3b4c8e5ce03e7a299
treedca990db01c9ebd097c2cf25ae5f8c452ea3db95
parent20b6ae0e5399cfc22c6a0989d8e520194e920bdd
Limit avatar upload to valid image files (#24258)

This causes the browser to allow only valid images in the file picker by
default.

---------

Co-authored-by: silverwind <me@silverwind.io>
templates/org/settings/options.tmpl
templates/repo/settings/options.tmpl
templates/user/settings/profile.tmpl