MM-36084 - Certificate Auth: Remove SAML dependency in license check (#18113)

Этот коммит содержится в:
Maria A Nunez
2021-08-13 09:57:26 -04:00
коммит произвёл GitHub
родитель 16d8640072
Коммит d5e61e8093
3 изменённых файлов: 5 добавлений и 4 удалений

Просмотреть файл

@@ -167,8 +167,9 @@ func GenerateClientConfig(c *model.Config, telemetryID string, license *model.Li
props["SamlLastNameAttributeSet"] = strconv.FormatBool(*c.SamlSettings.LastNameAttribute != "")
props["SamlNicknameAttributeSet"] = strconv.FormatBool(*c.SamlSettings.NicknameAttribute != "")
props["SamlPositionAttributeSet"] = strconv.FormatBool(*c.SamlSettings.PositionAttribute != "")
}
// do this under the correct licensed feature
if *license.Features.FutureFeatures {
props["ExperimentalClientSideCertEnable"] = strconv.FormatBool(*c.ExperimentalSettings.ClientSideCertEnable)
props["ExperimentalClientSideCertCheck"] = *c.ExperimentalSettings.ClientSideCertCheck
}