diff --git a/Koha/Exceptions/Password.pm b/Koha/Exceptions/Password.pm index c64873dca5..53a290da75 100644 --- a/Koha/Exceptions/Password.pm +++ b/Koha/Exceptions/Password.pm @@ -35,9 +35,9 @@ use Exception::Class ( isa => 'Koha::Exceptions::Password', description => 'Password is too weak' }, - 'Koha::Exceptions::Password::TrailingWhitespace' => { + 'Koha::Exceptions::Password::WhitespaceCharacters' => { isa => 'Koha::Exceptions::Password', - description => 'Password contains trailing whitespace character(s)' + description => 'Password contains leading/trailing whitespace character(s)' } );