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