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

Backport #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