Added ability to register/login through LDAP

- Added ability to edit LDAP settings and whether to use LDAP or not in the users tab in the settings
This commit is contained in:
Isaac Abadi
2020-08-26 04:18:29 -04:00
parent c9016f446d
commit babba9aa30
9 changed files with 396 additions and 57 deletions

View File

@@ -36,7 +36,15 @@
},
"Users": {
"base_path": "users/",
"allow_registration": true
"allow_registration": true,
"auth_method": "internal",
"ldap_config": {
"url": "ldap://localhost:389",
"bindDN": "cn=root",
"bindCredentials": "secret",
"searchBase": "ou=passport-ldapauth",
"searchFilter": "(uid={{username}})"
}
},
"Advanced": {
"use_default_downloading_agent": true,