From 636391bdf72929be5db9fbd4d96692a79f13d810 Mon Sep 17 00:00:00 2001 From: Alex Arnaud Date: Fri, 2 Dec 2011 09:19:33 +0100 Subject: [PATCH] bug/7285 Use C4::Auth::checkpw instead of checkpw only Signed-off-by: Chris Cormack Signed-off-by: Paul Poulain (cherry picked from commit 46831f808610d95af703fc53688c5fa9b5c04fbe) Signed-off-by: Chris Nighswonger --- C4/ILSDI/Services.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/ILSDI/Services.pm b/C4/ILSDI/Services.pm index 90f741a213..067afd7a98 100644 --- a/C4/ILSDI/Services.pm +++ b/C4/ILSDI/Services.pm @@ -315,7 +315,7 @@ sub AuthenticatePatron { my ($cgi) = @_; # Check if borrower exists, using a C4::Auth function... - unless( checkpw( C4::Context->dbh, $cgi->param('username'), $cgi->param('password') ) ) { + unless( C4::Auth::checkpw( C4::Context->dbh, $cgi->param('username'), $cgi->param('password') ) ) { return { code => 'PatronNotFound' }; } -- 2.39.5