mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 14:44:29 -04:00
more ldap lib optimization
This commit is contained in:
parent
89a066da0b
commit
c84ea81c5a
2 changed files with 6 additions and 6 deletions
|
@ -58,7 +58,7 @@ class LdapConfig(BaseConfigSet):
|
|||
self.update_in_place(LDAP_ENABLED=False)
|
||||
|
||||
# Check that all required LDAP config options are set
|
||||
if self.self.LDAP_CONFIG_IS_SET:
|
||||
if self.LDAP_CONFIG_IS_SET:
|
||||
missing_config_options = [
|
||||
key for key, value in self.model_dump().items()
|
||||
if value is None and key != 'LDAP_ENABLED'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue