Lines 210-216
sub checkpw_ldap {
Link Here
|
210 |
return(1, $cardnumber, $local_userid); |
210 |
return(1, $cardnumber, $local_userid); |
211 |
} |
211 |
} |
212 |
} elsif ($config{replicate}) { # A2, C2 |
212 |
} elsif ($config{replicate}) { # A2, C2 |
213 |
$borrowernumber = AddMember(%borrower) or die "AddMember failed"; |
213 |
$borrowernumber = C4::Members::AddMember(%borrower) or die "AddMember failed"; |
214 |
C4::Members::Messaging::SetMessagingPreferencesFromDefaults( { borrowernumber => $borrowernumber, categorycode => $borrower{'categorycode'} } ); |
214 |
C4::Members::Messaging::SetMessagingPreferencesFromDefaults( { borrowernumber => $borrowernumber, categorycode => $borrower{'categorycode'} } ); |
215 |
} else { |
215 |
} else { |
216 |
return 0; # B2, D2 |
216 |
return 0; # B2, D2 |
217 |
- |
|
|