Update licensing switches for Office365 and Google SSO through OAuth2 (#3786)
Этот коммит содержится в:
коммит произвёл
enahum
родитель
7bb6a439a8
Коммит
2073547018
@@ -299,11 +299,11 @@ func getClientConfig(c *model.Config) map[string]string {
|
||||
props["EnableCluster"] = strconv.FormatBool(*c.ClusterSettings.Enable)
|
||||
}
|
||||
|
||||
if *License.Features.GoogleSSO {
|
||||
if *License.Features.GoogleOAuth {
|
||||
props["EnableSignUpWithGoogle"] = strconv.FormatBool(c.GoogleSettings.Enable)
|
||||
}
|
||||
|
||||
if *License.Features.Office365SSO {
|
||||
if *License.Features.Office365OAuth {
|
||||
props["EnableSignUpWithOffice365"] = strconv.FormatBool(c.Office365Settings.Enable)
|
||||
}
|
||||
|
||||
|
||||
@@ -123,8 +123,8 @@ func getClientLicense(l *model.License) map[string]string {
|
||||
props["MFA"] = strconv.FormatBool(*l.Features.MFA)
|
||||
props["SAML"] = strconv.FormatBool(*l.Features.SAML)
|
||||
props["Cluster"] = strconv.FormatBool(*l.Features.Cluster)
|
||||
props["GoogleSSO"] = strconv.FormatBool(*l.Features.GoogleSSO)
|
||||
props["Office365SSO"] = strconv.FormatBool(*l.Features.Office365SSO)
|
||||
props["GoogleOAuth"] = strconv.FormatBool(*l.Features.GoogleOAuth)
|
||||
props["Office365OAuth"] = strconv.FormatBool(*l.Features.Office365OAuth)
|
||||
props["Compliance"] = strconv.FormatBool(*l.Features.Compliance)
|
||||
props["CustomBrand"] = strconv.FormatBool(*l.Features.CustomBrand)
|
||||
props["MHPNS"] = strconv.FormatBool(*l.Features.MHPNS)
|
||||
|
||||
Ссылка в новой задаче
Block a user