mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-03 04:10:25 +08:00
修复无法读取鉴权方法列表的问题
This commit is contained in:
@@ -16,7 +16,7 @@ type HTTPAuthTypeDefinition struct {
|
||||
Description string `json:"description"`
|
||||
}
|
||||
|
||||
func FindAllHTTPAuthTypes() []*HTTPAuthTypeDefinition {
|
||||
func FindAllHTTPAuthTypes(role string) []*HTTPAuthTypeDefinition {
|
||||
return []*HTTPAuthTypeDefinition{
|
||||
{
|
||||
Name: "基本认证",
|
||||
|
||||
Reference in New Issue
Block a user