mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-28 11:26:26 -06:00
change ldap.py to ldap_config.py
This commit is contained in:
parent
7922c0ceb7
commit
ee137110f4
@ -71,7 +71,7 @@ if LDAP_CONFIGURED:
|
|||||||
logger.setLevel(logging.DEBUG)
|
logger.setLevel(logging.DEBUG)
|
||||||
except ImportError:
|
except ImportError:
|
||||||
raise ImproperlyConfigured("LDAP authentication has been configured, but django-auth-ldap is not installed. "
|
raise ImproperlyConfigured("LDAP authentication has been configured, but django-auth-ldap is not installed. "
|
||||||
"You can remove netbox/ldap.py to disable LDAP.")
|
"You can remove netbox/ldap_config.py to disable LDAP.")
|
||||||
|
|
||||||
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user