summaryrefslogtreecommitdiffstatsabout
path: root/lib/DJabberd/Authen
diff options
context:
space:
mode:
Diffstat (limited to 'lib/DJabberd/Authen')
-rw-r--r--lib/DJabberd/Authen/LDAP.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/DJabberd/Authen/LDAP.pm b/lib/DJabberd/Authen/LDAP.pm
index 92a948e..fdfa105 100644
--- a/lib/DJabberd/Authen/LDAP.pm
+++ b/lib/DJabberd/Authen/LDAP.pm
@@ -131,7 +131,7 @@ sub check_cleartext {
131 $cb->decline; 131 $cb->decline;
132 } 132 }
133 } else { 133 } else {
134 $ldap->unbind; 134 $ldap->bind;
135 } 135 }
136 136
137 my $filter = $self->{'ldap_filter'}; 137 my $filter = $self->{'ldap_filter'};