]> source.dussan.org Git - gitea.git/commit
Return 404 when user is not found on avatar (#21476) (#21477)
authorGusted <williamzijl7@hotmail.com>
Sun, 16 Oct 2022 16:56:58 +0000 (16:56 +0000)
committerGitHub <noreply@github.com>
Sun, 16 Oct 2022 16:56:58 +0000 (00:56 +0800)
commit3f032759ed40c8815e301cf5cc9f64f04864f731
tree8fab2c1a9dd4db35f653d7b802f5008a581f1262
parentf48fda8eefa4d47e335f01ac92366b9373950e0e
Return 404 when user is not found on avatar (#21476) (#21477)

- Backport #21476
- Instead of returning a 500 Internal Server when the user wasn't found,
return 404 Not found.
routers/web/user/avatar.go