more ldap lib optimization

This commit is contained in:
Nick Sweeting 2024-10-03 18:25:35 -07:00
parent 89a066da0b
commit c84ea81c5a
No known key found for this signature in database
2 changed files with 6 additions and 6 deletions

View file

@ -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'