Exposing enforce mfa in client config (#11686)

Этот коммит содержится в:
Jesús Espino
2019-07-23 15:02:21 +02:00
коммит произвёл GitHub
родитель 8dcbab97b4
Коммит be099215c5

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

@@ -274,6 +274,7 @@ func GenerateLimitedClientConfig(c *model.Config, diagnosticId string, license *
props["EnableMultifactorAuthentication"] = strconv.FormatBool(*c.ServiceSettings.EnableMultifactorAuthentication)
props["EnforceMultifactorAuthentication"] = "false"
props["EnableGuestAccounts"] = strconv.FormatBool(*c.GuestAccountsSettings.Enable)
props["GuestAccountsEnforceMultifactorAuthentication"] = strconv.FormatBool(*c.GuestAccountsSettings.EnforceMultifactorAuthentication)
if license != nil {
if *license.Features.LDAP {