|
|
@ -67,6 +67,7 @@ public class Util { |
|
|
|
for (int i=0; i<pass.length();i++){ |
|
|
|
for (int i=0; i<pass.length();i++){ |
|
|
|
if (!Character.isLetterOrDigit(pass.charAt(i))) return false; // password contains special character
|
|
|
|
if (!Character.isLetterOrDigit(pass.charAt(i))) return false; // password contains special character
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|
if (pass.length() < 10){ |
|
|
|
if (pass.length() < 10){ |
|
|
|
var digit = false; |
|
|
|
var digit = false; |
|
|
|