Skip to content

Commit

Permalink
Update Constants.java for Password
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladik-gif authored Sep 30, 2024
1 parent e800da4 commit 3d8aec7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/chat/yourway/utils/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class Constants {
public static final Pattern EMAIL_PATTERN = Pattern.compile("[A-Za-z0-9.\\-_]+@[A-Za-z]+\\.[A-Za-z]{2,3}");
public static final Pattern NICKNAME_PATTERN = Pattern.compile("^[a-zA-Z0-9а-яА-ЯІіЇї!@#$%^&*_\\-+=~?]{4,20}$");
public static final int MIN_PASSWORD_LENGTH = 4;
public static final int MAX_PASSWORD_LENGTH = 12;
public static final int MAX_PASSWORD_LENGTH = 20;
public static final Pattern PASSWORD_SPECIAL_SYMBOLS_PATTERN = Pattern.compile(".*[!@#$%^&*_\\-+=~?].*");
public static final Pattern PASSWORD_UPPER_CASE_PATTERN = Pattern.compile(".*[A-Z].*");
public static final Pattern PASSWORD_DIGIT_PATTERN = Pattern.compile(".*\\d.*");
Expand Down

0 comments on commit 3d8aec7

Please sign in to comment.