View | Details | Raw Unified | Return to bug 17775
Collapse All | Expand All

(-)a/C4/Auth_with_ldap.pm (-2 / +1 lines)
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
- 

Return to bug 17775