# LDAP plugin error? after updating to latest ver discourse

**URL:** <https://meta.discourse.org/t/ldap-plugin-error-after-updating-to-latest-ver-discourse/281149>\
**Category:** Support\
**Tags:** auth-plugins\
**Created:** [October 5, 2023, 12:47pm UTC](https://meta.discourse.org/t/ldap-plugin-error-after-updating-to-latest-ver-discourse/281149 "2023-10-05T12:47:47Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Benjamin\_D](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/benjamin_d/32/277831_2.png) [@Benjamin\_D](https://meta.discourse.org/u/Benjamin_D)\
**Post date:** [October 6, 2023, 4:56am UTC](https://meta.discourse.org/t/ldap-plugin-error-after-updating-to-latest-ver-discourse/281149/6 "2023-10-06T04:56:59Z")

</div>

ah yes, isn’t supposed to work :

> <https://github.com/jonmbake/discourse-ldap-auth/blob/edcf06957090e8d978a89fe7b07a6ba56fe35214/plugin.rb#L21-L23>

```plaintext
          def enabled?
            SiteSetting.ldap_enabled
          end

```

will do it

---

_[View the full topic](https://meta.discourse.org/t/ldap-plugin-error-after-updating-to-latest-ver-discourse/281149)._
