mirror of
1
Fork 0
forgejo/routers/web/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
..
admin.go Add Goroutine stack inspector to admin/monitor (#19207) 2022-03-31 19:01:43 +02:00
admin_test.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
auths.go Renamed ctx.User to ctx.Doer. (#19161) 2022-03-22 15:03:22 +08:00
emails.go Renamed ctx.User to ctx.Doer. (#19161) 2022-03-22 15:03:22 +08:00
hooks.go Only send webhook events to active system webhooks and only deliver to active hooks (#19234) 2022-03-28 11:17:21 +08:00
main_test.go Use a struct as test options (#19393) 2022-04-14 21:58:21 +08:00
notice.go Update HTTP status codes to modern codes (#18063) 2022-03-23 12:54:07 +08:00
orgs.go Renamed ctx.User to ctx.Doer. (#19161) 2022-03-22 15:03:22 +08:00
packages.go Package registry changes (#19305) 2022-04-06 03:32:09 +02:00
repos.go Renamed ctx.User to ctx.Doer. (#19161) 2022-03-22 15:03:22 +08:00
users.go Admin should not delete himself (#19423) 2022-05-08 21:22:55 +01:00
users_test.go Renamed ctx.User to ctx.Doer. (#19161) 2022-03-22 15:03:22 +08:00