PLT-5813 support SAML sync via LDAP (#7668)
* PLT-5813 support SAML sync via LDAP * Cleaning up based on review
Этот коммит содержится в:
@@ -13,7 +13,8 @@ import (
|
||||
|
||||
func (a *App) SyncLdap() {
|
||||
a.Go(func() {
|
||||
if utils.IsLicensed() && *utils.License().Features.LDAP && *a.Config().LdapSettings.Enable {
|
||||
|
||||
if utils.IsLicensed() && *utils.License().Features.LDAP && *a.Config().LdapSettings.EnableSync {
|
||||
if ldapI := a.Ldap; ldapI != nil {
|
||||
ldapI.StartSynchronizeJob(false)
|
||||
} else {
|
||||
|
||||
Ссылка в новой задаче
Block a user