Timothy Jaeryang Baek hace 2 meses
padre
commit
70667d5cc8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      backend/open_webui/config.py

+ 1 - 1
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(