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

(-)a/C4/ILSDI/Services.pm (-2 / +1 lines)
Lines 315-321 sub AuthenticatePatron { Link Here
315
    my ($cgi) = @_;
315
    my ($cgi) = @_;
316
316
317
    # Check if borrower exists, using a C4::Auth function...
317
    # Check if borrower exists, using a C4::Auth function...
318
    unless( checkpw( C4::Context->dbh, $cgi->param('username'), $cgi->param('password') ) ) {
318
    unless( C4::Auth::checkpw( C4::Context->dbh, $cgi->param('username'), $cgi->param('password') ) ) {
319
        return { code => 'PatronNotFound' };
319
        return { code => 'PatronNotFound' };
320
    }
320
    }
321
321
322
- 

Return to bug 7285