diff --git a/plugin.rb b/plugin.rb index 88fdfbd..e26ba0e 100644 --- a/plugin.rb +++ b/plugin.rb @@ -19,7 +19,7 @@ def name end def enabled? - true + SiteSetting.ldap_enabled end def after_authenticate(auth_options)