]> WPIA git - gigi.git/blobdiff - src/club/wpia/gigi/passwords/PasswordStrengthChecker.java
fmt: proper use of lower case to have consistent warning messages
[gigi.git] / 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 {