projects
/
koha.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bug 22048: Use set_password in create_superlibrarian.pl
[koha.git]
/
misc
/
devel
/
create_superlibrarian.pl
diff --git
a/misc/devel/create_superlibrarian.pl
b/misc/devel/create_superlibrarian.pl
index
d9789fe
..
f17b1f5
100755
(executable)
--- a/
misc/devel/create_superlibrarian.pl
+++ b/
misc/devel/create_superlibrarian.pl
@@
-49,7
+49,7
@@
my $patron = Koha::Patron->new({
flags => 1,
})->store;
-$patron->
update_password( $userid, $password
);
+$patron->
set_password({ password => $password, skip_validation => 1 }
);
=head1 NAME