From e6feaca27de497b05757150ad8973dc3e8d749bd 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 Signed-off-by: Josef Moravec --- installer/onboarding.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/onboarding.pl b/installer/onboarding.pl index ceee2e4..1acc420 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.1.4