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:
parent
9add683d82
commit
dec983ec1b
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue