Bug 27342: Fix C4::ILSDI::Services::AuthenticatePatron

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Tomas Cohen Arazi 2022-08-17 10:33:07 -03:00 committed by Wainui Witika-Park
parent e110f3cca5
commit 6a65e5ddfc
1 changed files with 1 additions and 1 deletions

View File

@ -398,7 +398,7 @@ sub AuthenticatePatron {
my ($cgi) = @_;
my $username = $cgi->param('username');
my $password = $cgi->param('password');
my ($status, $cardnumber, $userid, $patron) = C4::Auth::checkpw( C4::Context->dbh, $username, $password );
my ($status, $cardnumber, $userid, $patron) = C4::Auth::checkpw( $username, $password );
if ( $status == 1 ) {
# Track the login
$patron->update_lastseen('connection');