Lines 241-247
sub checkpw_ldap {
Link Here
|
241 |
if ( $patron ) { # Should not be needed, but we are in C4::Auth LDAP... |
241 |
if ( $patron ) { # Should not be needed, but we are in C4::Auth LDAP... |
242 |
eval { |
242 |
eval { |
243 |
my $attribute = Koha::Patron::Attribute->new({code => $code, attribute => $borrower{$code}}); |
243 |
my $attribute = Koha::Patron::Attribute->new({code => $code, attribute => $borrower{$code}}); |
244 |
$patron->extended_attributes([$attribute]); |
244 |
$patron->extended_attributes([$attribute->unblessed]); |
245 |
}; |
245 |
}; |
246 |
if ($@) { # FIXME Test if Koha::Exceptions::Patron::Attribute::NonRepeatable |
246 |
if ($@) { # FIXME Test if Koha::Exceptions::Patron::Attribute::NonRepeatable |
247 |
warn "ERROR_extended_unique_id_failed $code $borrower{$code}"; |
247 |
warn "ERROR_extended_unique_id_failed $code $borrower{$code}"; |
248 |
- |
|
|