mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-19 09:53:34 -06:00
change ldap.py to ldap_config.py
This commit is contained in:
parent
5601be87f7
commit
9eec975800
@ -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