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>
my $password_length = length($password);
Koha::Exceptions::Password::TooShort->throw(
- { length => $password_length, min_length => $min_length } );
+ length => $password_length, min_length => $min_length );
}
elsif ( $error eq 'has_whitespaces' ) {
Koha::Exceptions::Password::WhitespaceCharacters->throw();
$template->param( 'passwords_mismatch' => '1' );
} else {
try {
- $patron->set_password( $new_password );
+ $patron->set_password({ password => $new_password });
$template->param( 'password_updated' => '1' );
$template->param( 'borrowernumber' => $borrowernumber );
}