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