Bug 27342: Fix C4::ILSDI::Services::AuthenticatePatron
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
daef044b6f
commit
5ec01dd326
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Reference in New Issue