Forbid removing the last admin user (#28337)

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
yp05327andLunny Xiao authored and GitHub committed 2024-01-15 06:51:43 +00:00
1 parent b820019fec
commit ce0225c1b8
8 files changed
+80 -7

No files matched your search

+3
View File
@@ -677,6 +677,9 @@
"200": {
"$ref": "#/responses/User"
},
"400": {
"$ref": "#/responses/error"
},
"403": {
"$ref": "#/responses/forbidden"
},