mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-04 10:19:25 +02:00
Check the correct variable for LDAP.
This commit is contained in:
parent
e10cd41cf9
commit
2682a69a36
1 changed files with 1 additions and 1 deletions
|
@ -650,7 +650,7 @@ class vauth {
|
||||||
//This is the ldap objectclass (required)
|
//This is the ldap objectclass (required)
|
||||||
$ldap_class = Config::get('ldap_objectclass');
|
$ldap_class = Config::get('ldap_objectclass');
|
||||||
|
|
||||||
if (!($ldap_dn && $ldap_url && $ldap_filter && $ldap_objectclass)) {
|
if (!($ldap_dn && $ldap_url && $ldap_filter && $ldap_class)) {
|
||||||
debug_event('ldap_auth', 'Required config value missing', 1);
|
debug_event('ldap_auth', 'Required config value missing', 1);
|
||||||
$results['success'] = false;
|
$results['success'] = false;
|
||||||
$results['error'] = 'Incomplete LDAP config';
|
$results['error'] = 'Incomplete LDAP config';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue