Bug 21087: (QA follow-up) Fix usage in create_superlibrarian.pl

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Tomas Cohen Arazi 2018-07-30 22:51:32 -03:00
parent 9add683d82
commit dec983ec1b
1 changed files with 1 additions and 3 deletions

View File

@ -46,12 +46,10 @@ my $patron = Koha::Patron->new({
cardnumber => $cardnumber,
branchcode => $branchcode,
categorycode => $categorycode,
password => $password,
flags => 1,
})->store;
my $digest = Koha::AuthUtils::hash_password($password);
$patron->update({password => $digest,});
$patron->update_password( $userid, $password );
=head1 NAME