summaryrefslogtreecommitdiffstats
path: root/lib/class/vauth.class.php
diff options
context:
space:
mode:
authorPaul Arthur <flowerysong00@yahoo.com>2010-12-08 03:06:33 -0500
committerPaul Arthur <flowerysong00@yahoo.com>2010-12-08 03:06:33 -0500
commit2682a69a36cd16a7863d6ac1d94e8523f6c3c98f (patch)
treeafc31090eb465d40a642790104f5e3d8978120e9 /lib/class/vauth.class.php
parente10cd41cf9e9cba050fa222437ececbd27ee22e7 (diff)
downloadampache-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.php2
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';