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

Update PassBook.java

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