projects
/
koha-equinox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
9add683
)
Bug 21087: (QA follow-up) Fix usage in create_superlibrarian.pl
author
Tomas Cohen Arazi
<tomascohen@theke.io>
Tue, 31 Jul 2018 01:51:32 +0000 (22:51 -0300)
committer
Tomas Cohen Arazi
<tomascohen@theke.io>
Tue, 31 Jul 2018 01:51:32 +0000 (22:51 -0300)
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
misc/devel/create_superlibrarian.pl
patch
|
blob
|
history
diff --git
a/misc/devel/create_superlibrarian.pl
b/misc/devel/create_superlibrarian.pl
index
938d34e
..
d9789fe
100755
(executable)
--- a/
misc/devel/create_superlibrarian.pl
+++ b/
misc/devel/create_superlibrarian.pl
@@
-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