mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-16 11:35:59 +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]] = [
|
hooks: List[InstanceOf[BaseHook]] = [
|
||||||
LDAP_CONFIG,
|
LDAP_CONFIG,
|
||||||
LDAP_BINARY,
|
*([LDAP_BINARY] if LDAP_CONFIG.LDAP_ENABLED else []),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user