summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Auth/LDAP.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Auth/LDAP.php b/lib/Auth/LDAP.php
index 29fd3e1..06aed37 100644
--- a/lib/Auth/LDAP.php
+++ b/lib/Auth/LDAP.php
@@ -1173,7 +1173,7 @@ class LDAP extends Net_LDAP3 {
$entry_dn = $this->entry_dn($entry, $attributes, $base_dn);
// object not found or self deletion
- if (!$entry_dn || $entry_dn == $_SESSION['user']->user_bind_dn) {
+ if (!$entry_dn) {
return false;
}