Bug 7973 : Follow up to remove an extraneous my
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>
This commit is contained in:
parent
43e5b490e8
commit
961b9ef8c5
|
|
@ -119,7 +119,7 @@ sub checkpw_ldap {
|
|||
$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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue