mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 06:34:25 -04:00
disable LDAP_BINARY if LDAP_ENABLED=False
This commit is contained in:
parent
fdc720b13d
commit
228bb7bd52
1 changed files with 1 additions and 1 deletions
|
@ -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 []),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue