Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Fixes problem found by QA scripts.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
$userldapentry = $search->shift_entry;
# Perform a LDAP bind for the given username using the matched DN
- my $res = $db->bind( $userldapentry->dn, password => $password );
+ $res = $db->bind( $userldapentry->dn, password => $password );
if ( $res->code ) {
$debug and warn "LDAP bind failed as kohauser $userid: ". description($res);
return 0;