From 828ab70be705b5bc90d995dabf7787e608bd51e0 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 Signed-off-by: Nick Clemens --- 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.39.5