Lines 708-714
sub set_password {
Link Here
|
708 |
|
708 |
|
709 |
my $password_length = length($password); |
709 |
my $password_length = length($password); |
710 |
Koha::Exceptions::Password::TooShort->throw( |
710 |
Koha::Exceptions::Password::TooShort->throw( |
711 |
{ length => $password_length, min_length => $min_length } ); |
711 |
length => $password_length, min_length => $min_length ); |
712 |
} |
712 |
} |
713 |
elsif ( $error eq 'has_whitespaces' ) { |
713 |
elsif ( $error eq 'has_whitespaces' ) { |
714 |
Koha::Exceptions::Password::WhitespaceCharacters->throw(); |
714 |
Koha::Exceptions::Password::WhitespaceCharacters->throw(); |