Bug 20879: Fix regression in shibboleth when ldap enabled
Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
82ce10dd28
commit
c528c05f30
|
|
@ -1776,7 +1776,7 @@ sub checkpw {
|
|||
|
||||
if ( $patron and $patron->account_locked ) {
|
||||
# Nothing to check, account is locked
|
||||
} elsif ($ldap) {
|
||||
} elsif ($ldap && defined($password)) {
|
||||
$debug and print STDERR "## checkpw - checking LDAP\n";
|
||||
my ( $retval, $retcard, $retuserid ) = checkpw_ldap(@_); # EXTERNAL AUTH
|
||||
if ( $retval == 1 ) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue