Revert "feat: 批量设置用户最大连接数"

This reverts commit 28568244bb.
This commit is contained in:
sagitchu
2026-04-25 22:45:23 +08:00
parent 28568244bb
commit 325baa8adc
6 changed files with 1 additions and 175 deletions
+1 -1
View File
@@ -137,7 +137,7 @@ func requiresAdmin(path string) bool {
}
switch path {
case "/api/v1/user/create", "/api/v1/user/list", "/api/v1/user/update", "/api/v1/user/delete", "/api/v1/user/reset", "/api/v1/user/batch-set-max-conn":
case "/api/v1/user/create", "/api/v1/user/list", "/api/v1/user/update", "/api/v1/user/delete", "/api/v1/user/reset":
return true
case "/api/v1/config/update", "/api/v1/config/update-single":
return true