mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-01 15:07:17 +08:00
fix: apigateway sends encrypt_passwd to indicate passwd encryption
This commit is contained in:
@@ -146,6 +146,7 @@ func (h *AuthHandlers) GetRegionsResponse(ctx context.Context, w http.ResponseWr
|
||||
SCommonConfig: agapi.SCommonConfig{
|
||||
ApiServer: options.Options.ApiServer,
|
||||
},
|
||||
EncryptPasswd: true,
|
||||
}
|
||||
|
||||
s := auth.GetAdminSession(ctx, regions[0], "")
|
||||
|
||||
@@ -37,5 +37,7 @@ type SRegionsReponse struct {
|
||||
Idps []SIdp `json:"idps,allowempty"`
|
||||
ReturnFullDomains bool `json:"return_full_domains"`
|
||||
|
||||
EncryptPasswd bool `json:"encrypt_passwd"`
|
||||
|
||||
SCommonConfig
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user