Fix ldap configuration in /etc/netbox/config/ldap/*.py not loaded
This commit is contained in:
parent
43aea3a1dd
commit
a3c21ae0ac
@ -13,3 +13,10 @@ def __getattr__(name):
|
|||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
raise AttributeError
|
raise AttributeError
|
||||||
|
|
||||||
|
def __dir__():
|
||||||
|
names = []
|
||||||
|
for config in _loaded_configurations:
|
||||||
|
for name in config.__dir__():
|
||||||
|
names.append(name)
|
||||||
|
return names
|
||||||
|
Loading…
Reference in New Issue
Block a user