1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/routers/api/v1/admin
Lunny Xiao 9efa47131f
Admin should not delete himself (#19423)
Admin should not be able to delete themselves.

Also partially fix #15449
2022-05-08 21:22:55 +01:00
..
adopt.go Renamed ctx.User to ctx.Doer. (#19161) 2022-03-22 15:03:22 +08:00
cron.go Renamed ctx.User to ctx.Doer. (#19161) 2022-03-22 15:03:22 +08:00
org.go Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00
repo.go Add ContextUser to http request context (#18798) 2022-03-26 17:04:22 +08:00
user.go Admin should not delete himself (#19423) 2022-05-08 21:22:55 +01:00