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:
@@ -75,7 +75,7 @@ class LdapAuthPlugin(BasePlugin):
|
||||
|
||||
hooks: List[InstanceOf[BaseHook]] = [
|
||||
LDAP_CONFIG,
|
||||
LDAP_BINARY,
|
||||
*([LDAP_BINARY] if LDAP_CONFIG.LDAP_ENABLED else []),
|
||||
]
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user