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

Update PassBook.java

parent 491a3e0c
No related branches found
No related tags found
No related merge requests found
Pipeline #5314 failed
......@@ -104,7 +104,7 @@ public class PassBook
}
}
if (!containsLowerCase || !containsUpperCase || !containsNumber) {
if (!containsLowerCase && !containsUpperCase || !containsNumber) {
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