]> WPIA git - gigi.git/blobdiff - src/club/wpia/gigi/Gigi.java
chg: remove unused import
[gigi.git] / src / club / wpia / gigi / Gigi.java
index 36e8c8ccc1064f17486dc7ce4e086d66ccc5d2fa..e76c51710e6c1c664d19c72c176d238f9f05c2ee 100644 (file)
@@ -7,7 +7,6 @@ import java.math.BigInteger;
 import java.nio.channels.FileChannel;
 import java.nio.file.FileSystems;
 import java.nio.file.NoSuchFileException;
-import java.nio.file.Path;
 import java.security.KeyStore;
 import java.security.MessageDigest;
 import java.security.NoSuchAlgorithmException;
@@ -319,8 +318,8 @@ public final class Gigi extends HttpServlet {
             if (knownPasswordHashesRequired) {
                 throw new RuntimeException("Error while opening password hash database, refusing startup", e);
             } else {
-                System.err.println("Error while opening password hash database, passwords will be checked only by strength");
-                if (!(e instanceof NoSuchFileException)) {
+                System.err.println("Warning: A problem was encountered while opening the password hash database, passwords will be checked only by strength.");
+                if ( !(e instanceof NoSuchFileException)) {
                     e.printStackTrace();
                 }
                 return new PasswordStrengthChecker();