Allow loading bind secret from file
This commit is contained in:
@@ -172,6 +172,7 @@ if any(os.path.isfile(x) for x in config_locations):
|
||||
LDAP_FILTER = ldap.get("filter", "")
|
||||
LDAP_BIND_DN = ldap.get("bind_dn", "")
|
||||
LDAP_BIND_PW = ldap.get("bind_pw", "")
|
||||
LDAP_BIND_PW_FILE = ldap.get("bind_pw_file", "")
|
||||
|
||||
# Configure EteBase to use LDAP
|
||||
ETEBASE_CREATE_USER_FUNC = "myauth.ldap.create_user"
|
||||
|
||||
Reference in New Issue
Block a user