Forgejo/routers/api/v1/admin
Giteabot 5124be72aa
Forbid removing the last admin user (#28337) (#28793)
Backport #28337 by @yp05327

Co-authored-by: yp05327 <576951401@qq.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
(cherry picked from commit 376fa0d8c4)
2024-01-16 14:41:11 +00:00
..
adopt.go Move createrepository from module to service layer (#26927) 2023-09-06 12:08:51 +00:00
cron.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
email.go Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
hooks.go Return 404 in the API if the requested webhooks were not found (#24823) 2023-05-21 10:54:28 +08:00
org.go Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
repo.go Handle missing README in create repos API (#23387) 2023-03-13 16:55:30 -05:00
user.go Forbid removing the last admin user (#28337) (#28793) 2024-01-16 14:41:11 +00:00