diff --git a/seahub/base/accounts.py b/seahub/base/accounts.py index 41a1f8974b..bf6e2743aa 100644 --- a/seahub/base/accounts.py +++ b/seahub/base/accounts.py @@ -799,7 +799,7 @@ class CustomLDAPBackend(object): return user def authenticate(self, ldap_user=None, password=None): - if not is_pro_version() or not ENABLE_LDAP: + if not ENABLE_LDAP: return admin_bind_conn = ldap.initialize(LDAP_SERVER_URL)