diff --git a/backend/open_webui/config.py b/backend/open_webui/config.py index 5f52d4eee..19abbf143 100644 --- a/backend/open_webui/config.py +++ b/backend/open_webui/config.py @@ -2416,7 +2416,7 @@ LDAP_SEARCH_BASE = PersistentConfig( LDAP_SEARCH_FILTERS = PersistentConfig( "LDAP_SEARCH_FILTER", "ldap.server.search_filter", - os.environ.get("LDAP_SEARCH_FILTER", ""), + os.environ.get("LDAP_SEARCH_FILTER", os.environ.get("LDAP_SEARCH_FILTERS", "")), ) LDAP_USE_TLS = PersistentConfig(