From 5ec01dd3261b5aefdd9b5feaaa059c3fb300ac55 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Wed, 17 Aug 2022 10:33:07 -0300 Subject: [PATCH] Bug 27342: Fix C4::ILSDI::Services::AuthenticatePatron Signed-off-by: Tomas Cohen Arazi --- 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 1c5b35c1ac..17f55cfe58 100644 --- a/C4/ILSDI/Services.pm +++ b/C4/ILSDI/Services.pm @@ -393,7 +393,7 @@ sub AuthenticatePatron { my ($cgi) = @_; my $username = $cgi->param('username'); my $password = $cgi->param('password'); - my ($status, $cardnumber, $userid) = C4::Auth::checkpw( C4::Context->dbh, $username, $password ); + my ($status, $cardnumber, $userid) = C4::Auth::checkpw( $username, $password ); if ( $status == 1 ) { # Track the login C4::Auth::track_login_daily( $userid ); -- 2.20.1