1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-08-14 02:24:06 +02:00

disable LDAP_BINARY if LDAP_ENABLED=False

This commit is contained in:
Nick Sweeting
2024-10-09 18:39:45 -07:00
parent fdc720b13d
commit 228bb7bd52

View File

@@ -75,7 +75,7 @@ class LdapAuthPlugin(BasePlugin):
hooks: List[InstanceOf[BaseHook]] = [
LDAP_CONFIG,
LDAP_BINARY,
*([LDAP_BINARY] if LDAP_CONFIG.LDAP_ENABLED else []),
]