]> source.dussan.org Git - gitea.git/commit
Add missing return to handleSettingRemoteAddrError (#16794)
authorzeripath <art27@cantab.net>
Mon, 23 Aug 2021 22:09:25 +0000 (23:09 +0100)
committerGitHub <noreply@github.com>
Mon, 23 Aug 2021 22:09:25 +0000 (18:09 -0400)
commit921afb57fb0a14e27c884c169b88f98056d3a38f
tree6304a8b489dc6120229bbcf3246d55f6446720fd
parent1cd4a3b963946d27620c48eb968dc81e5af432af
Add missing return to handleSettingRemoteAddrError (#16794)

There is a missing return in handleSettingRemoteAddrError which means
that the error page for repo settings is duplicately rendered.

Fix #16771

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
routers/web/repo/setting.go