mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-04 11:55:26 +08:00
Merge pull request #11965 from ioito/automated-cherry-pick-of-#11964-upstream-release-3.7
Automated cherry pick of #11964: fix(cloudid): hcso enable multi tenant saml provider
This commit is contained in:
@@ -210,6 +210,7 @@ func (self *SHuaweiClient) CreateSAMLProvider(opts *cloudprovider.SAMLProviderCr
|
||||
"enabled": true,
|
||||
},
|
||||
})
|
||||
opts.Name = fmt.Sprintf("%s-%s", self.ownerName, opts.Name)
|
||||
name := []byte{}
|
||||
for _, c := range opts.Name {
|
||||
if unicode.IsLetter(c) || unicode.IsNumber(c) || c == '-' || c == '_' {
|
||||
|
||||
Reference in New Issue
Block a user