Bug 21233: (QA follow-up) It is not only trailing whitespace characters
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 14 Sep 2018 19:27:36 +0000 (12:27 -0700)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 14 Sep 2018 17:54:13 +0000 (17:54 +0000)
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Koha/Exceptions/Password.pm

index c64873d..53a290d 100644 (file)
@@ -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)'
     }
 );