Bug 23193: Make set_password.pl use Koha::Script
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 24 Jun 2019 13:28:00 +0000 (10:28 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 28 Jun 2019 13:34:13 +0000 (14:34 +0100)
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
misc/admin/set_password.pl

index 0df9be3..0915143 100755 (executable)
@@ -25,6 +25,7 @@ use Pod::Usage;
 use String::Random;
 
 use Koha::Patrons;
+use Koha::Script;
 
 my ( $help, $password, $cardnumber, $patron_id, $userid );
 GetOptions(