Commit 963f6224 by 罗翻

验证密码的时候加非空判断

parent 8f83615b
...@@ -61,6 +61,9 @@ public class UtilsUserAccountMatcher { ...@@ -61,6 +61,9 @@ public class UtilsUserAccountMatcher {
} }
public static boolean isPassword(String str) { public static boolean isPassword(String str) {
if (str == null) {
return false;
}
Matcher m = isPwd.matcher(str); Matcher m = isPwd.matcher(str);
if (m.find()) { if (m.find()) {
return true; return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment