Exposing enforce mfa in client config (#11686)
Этот коммит содержится в:
коммит произвёл
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 {
|
||||
|
||||
Ссылка в новой задаче
Block a user