Skip to content
Snippets Groups Projects
Commit 77d18c76 authored by Lin Fan's avatar Lin Fan
Browse files

Update PassBook.java

parent 35f5d08e
No related branches found
No related tags found
No related merge requests found
Pipeline #5597 passed
...@@ -84,7 +84,7 @@ public class PassBook ...@@ -84,7 +84,7 @@ public class PassBook
} }
//check the passphrase strength //check the passphrase strength
else { else {
if(passbookUsername.length()<1) { if(passbookUsername.length()==0) {
throw new WeakPassphraseException(passphrase); throw new WeakPassphraseException(passphrase);
} }
if (passphrase.length() < MINIMUM_PASSPHRASE_LENGTH) { if (passphrase.length() < MINIMUM_PASSPHRASE_LENGTH) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment