attributes['username'] is required

This commit is contained in:
Craig Andrews
2009-11-18 15:40:27 -05:00
parent 9ed70a5b11
commit 297f320e6f
3 changed files with 14 additions and 7 deletions

View File

@@ -189,7 +189,6 @@ class LdapAuthenticationPlugin extends AuthenticationPlugin
}
$filter = Net_LDAP2_Filter::create($this->attributes['username'], 'equals', $username);
$options = array(
'scope' => 'sub',
'attributes' => $attributes
);
$search = $ldap->search(null,$filter,$options);