diff --git a/pkg/serverconfigs/http_auth_methods.go b/pkg/serverconfigs/http_auth_methods.go index f431d4d..5fb5c22 100644 --- a/pkg/serverconfigs/http_auth_methods.go +++ b/pkg/serverconfigs/http_auth_methods.go @@ -16,7 +16,7 @@ type HTTPAuthTypeDefinition struct { Description string `json:"description"` } -func FindAllHTTPAuthTypes() []*HTTPAuthTypeDefinition { +func FindAllHTTPAuthTypes(role string) []*HTTPAuthTypeDefinition { return []*HTTPAuthTypeDefinition{ { Name: "基本认证",