From b3b46a01aae85594b9b3d2d8872d33d6812492a6 Mon Sep 17 00:00:00 2001 From: Corey Hulen Date: Tue, 31 Oct 2017 08:37:34 -0700 Subject: PLT-5813 support SAML sync via LDAP (#7668) * PLT-5813 support SAML sync via LDAP * Cleaning up based on review --- app/ldap.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/ldap.go') 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 { -- cgit v1.2.3-1-g7c22