mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-21 15:03:41 +00:00
group membership checked against login instead of DN
This commit is contained in:
parent
43503abc15
commit
908105684c
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ function ldapauth_authenticate($username, $password)
|
|||
return true;
|
||||
}
|
||||
|
||||
$r = @ldap_compare($connect, $ldap_group, 'member', $dn);
|
||||
$r = @ldap_compare($connect, $ldap_group, 'member', $res);
|
||||
if ($r === -1) {
|
||||
$err = @ldap_error($connect);
|
||||
$eno = @ldap_errno($connect);
|
||||
|
|
Loading…
Reference in a new issue