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:
parent
c425a003fd
commit
aefd2bc2f6
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue