mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 14:44:29 -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]] = [
|
||||
LDAP_CONFIG,
|
||||
LDAP_BINARY,
|
||||
*([LDAP_BINARY] if LDAP_CONFIG.LDAP_ENABLED else []),
|
||||
]
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue