diff options
Diffstat (limited to 'app/ldap.go')
-rw-r--r-- | app/ldap.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/ldap.go b/app/ldap.go index bb49349de..3d4c23a6c 100644 --- a/app/ldap.go +++ b/app/ldap.go @@ -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 { |