]> source.dussan.org Git - gitea.git/commit
Admin should not delete himself (#19423)
authorLunny Xiao <xiaolunwen@gmail.com>
Sun, 8 May 2022 20:22:55 +0000 (04:22 +0800)
committerGitHub <noreply@github.com>
Sun, 8 May 2022 20:22:55 +0000 (21:22 +0100)
commit9efa47131f3fa576bd0ef73fa4c5b96c95d89906
tree80c65663cc9aab9f51f1e321a16bb84b7badc29b
parent290cc884f2eaffd971d756d166f55771e8cdbed7
Admin should not delete himself (#19423)

Admin should not be able to delete themselves.

Also partially fix #15449
options/locale/locale_en-US.ini
routers/api/v1/admin/user.go
routers/web/admin/users.go