]> WPIA git - gigi.git/commitdiff
fmt: proper use of lower case to have consistent warning messages
authorINOPIAE <m.maengel@inopiae.de>
Sat, 7 Jul 2018 03:59:47 +0000 (05:59 +0200)
committerINOPIAE <m.maengel@inopiae.de>
Fri, 13 Jul 2018 06:16:18 +0000 (08:16 +0200)
Change-Id: I14ee00620fb9393fb8e20b47fa3e0bbcec0e32dd

src/club/wpia/gigi/passwords/PasswordStrengthChecker.java

index c1d8b24641e8c3e33fabae18cdfc52a43da948c8..872075d38597b9361fc19cc16a58ef72259ee114 100644 (file)
@@ -1,12 +1,9 @@
 package club.wpia.gigi.passwords;
 
 import java.util.Arrays;
-import java.util.TreeSet;
 import java.util.regex.Pattern;
 
 import club.wpia.gigi.GigiApiException;
-import club.wpia.gigi.dbObjects.Name;
-import club.wpia.gigi.dbObjects.NamePart;
 import club.wpia.gigi.output.template.SprintfCommand;
 
 public class PasswordStrengthChecker implements PasswordChecker {
@@ -87,7 +84,7 @@ public class PasswordStrengthChecker implements PasswordChecker {
         int points = ratePassword(password, nameParts, email);
         if (points < 3) {
             return new GigiApiException(new SprintfCommand(
-                "The Password you submitted failed to contain enough differing characters and/or contained words from your name and/or email address. For the current requirements and to learn more, visit our {0}FAQ{1}.",
+                "The password you submitted failed to contain enough differing characters and/or contained words from your name and/or email address. For the current requirements and to learn more, visit our {0}FAQ{1}.",
                 Arrays.asList("!(/kb/goodPassword", "!'</a>'")
             ));
         } else {