diff options
author | Corey Hulen <corey@hulen.com> | 2017-10-31 08:37:34 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-31 08:37:34 -0700 |
commit | b3b46a01aae85594b9b3d2d8872d33d6812492a6 (patch) | |
tree | f01325932c6a5c04bdb5fcd8baf48ed14af9375d /app | |
parent | 1012bce8bb33fac86b928f227892cee331eb2de4 (diff) | |
download | chat-b3b46a01aae85594b9b3d2d8872d33d6812492a6.tar.gz chat-b3b46a01aae85594b9b3d2d8872d33d6812492a6.tar.bz2 chat-b3b46a01aae85594b9b3d2d8872d33d6812492a6.zip |
PLT-5813 support SAML sync via LDAP (#7668)
* PLT-5813 support SAML sync via LDAP
* Cleaning up based on review
Diffstat (limited to 'app')
-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 { |