We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16d5107 commit c99e565Copy full SHA for c99e565
netbox/netbox/api/authentication.py
@@ -60,7 +60,7 @@ def authenticate_credentials(self, key):
60
61
user = token.user
62
# When LDAP authentication is active try to load user data from LDAP directory
63
- if settings.REMOTE_AUTH_BACKEND == 'netbox.authentication.LDAPBackend':
+ if 'netbox.authentication.LDAPBackend' in settings.REMOTE_AUTH_BACKEND:
64
from netbox.authentication import LDAPBackend
65
ldap_backend = LDAPBackend()
66
0 commit comments