mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-03 14:27:55 +10: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