Lines 35-43
use Exception::Class (
Link Here
|
35 |
isa => 'Koha::Exceptions::Password', |
35 |
isa => 'Koha::Exceptions::Password', |
36 |
description => 'Password is too weak' |
36 |
description => 'Password is too weak' |
37 |
}, |
37 |
}, |
38 |
'Koha::Exceptions::Password::TrailingWhitespaces' => { |
38 |
'Koha::Exceptions::Password::TrailingWhitespace' => { |
39 |
isa => 'Koha::Exceptions::Password', |
39 |
isa => 'Koha::Exceptions::Password', |
40 |
description => 'Password contains trailing whitespace(s)' |
40 |
description => 'Password contains trailing whitespace character(s)' |
41 |
} |
41 |
} |
42 |
); |
42 |
); |
43 |
|
43 |
|
Lines 77-83
Password is too short.
Link Here
|
77 |
|
77 |
|
78 |
Password is too weak. |
78 |
Password is too weak. |
79 |
|
79 |
|
80 |
=head2 Koha::Exceptions::Password::TrailingWhitespaces |
80 |
=head2 Koha::Exceptions::Password::TrailingWhitespace |
81 |
|
81 |
|
82 |
Password contains trailing spaces, which is forbidden. |
82 |
Password contains trailing spaces, which is forbidden. |
83 |
|
83 |
|
84 |
- |
|
|