diff options
author | Paul Arthur <flowerysong00@yahoo.com> | 2010-12-08 03:06:33 -0500 |
---|---|---|
committer | Paul Arthur <flowerysong00@yahoo.com> | 2010-12-08 03:06:33 -0500 |
commit | 2682a69a36cd16a7863d6ac1d94e8523f6c3c98f (patch) | |
tree | afc31090eb465d40a642790104f5e3d8978120e9 /lib/class/vauth.class.php | |
parent | e10cd41cf9e9cba050fa222437ececbd27ee22e7 (diff) | |
download | ampache-2682a69a36cd16a7863d6ac1d94e8523f6c3c98f.tar.gz ampache-2682a69a36cd16a7863d6ac1d94e8523f6c3c98f.tar.bz2 ampache-2682a69a36cd16a7863d6ac1d94e8523f6c3c98f.zip |
Check the correct variable for LDAP.
Diffstat (limited to 'lib/class/vauth.class.php')
-rw-r--r-- | lib/class/vauth.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class/vauth.class.php b/lib/class/vauth.class.php index c54b53de..39a8a294 100644 --- a/lib/class/vauth.class.php +++ b/lib/class/vauth.class.php @@ -650,7 +650,7 @@ class vauth { //This is the ldap objectclass (required) $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); $results['success'] = false; $results['error'] = 'Incomplete LDAP config'; |