From c5d0d518277460aebf6852b55e973e2a31a8c74b Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Wed, 12 Dec 2018 13:40:54 -0300 Subject: [PATCH] Bug 22048: Use set_password in onboarding.pl To test, verify the onboarding process sets the password correctly. Signed-off-by: Kyle M Hall --- installer/onboarding.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/onboarding.pl b/installer/onboarding.pl index ceee2e47ea..1acc420c43 100755 --- a/installer/onboarding.pl +++ b/installer/onboarding.pl @@ -186,7 +186,7 @@ if ( $step == 3 ) { eval { my $patron = Koha::Patron->new($patron_data)->store; - $patron->update_password($patron->userid, $firstpassword); + $patron->set_password({ password => $firstpassword }); }; #Error handling checking if the patron was created successfully -- 2.17.2 (Apple Git-113)