summaryrefslogtreecommitdiffstats
path: root/app/ldap.go
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2017-10-31 08:37:34 -0700
committerGitHub <noreply@github.com>2017-10-31 08:37:34 -0700
commitb3b46a01aae85594b9b3d2d8872d33d6812492a6 (patch)
treef01325932c6a5c04bdb5fcd8baf48ed14af9375d /app/ldap.go
parent1012bce8bb33fac86b928f227892cee331eb2de4 (diff)
downloadchat-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/ldap.go')
-rw-r--r--app/ldap.go3
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 {