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>
(cherry picked from commit
d4726c71328c156be519f0f5cf2190a5d6c5c900)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.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 );
}