Bug 22048: Use set_password in create_superlibrarian.pl

Use $patron->set_password instead of update_password. In this case the
'skip_validation' param needs to be set as no password strength checks
are expected.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
Tomas Cohen Arazi 2018-12-13 12:34:20 -03:00 committed by Nick Clemens
parent c425a003fd
commit aefd2bc2f6
1 changed files with 1 additions and 1 deletions

View File

@ -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