Skip to content

Commit

Permalink
Remove special character validation from default password validator
Browse files Browse the repository at this point in the history
  • Loading branch information
kayathiri4 committed Mar 4, 2024
1 parent ae8c463 commit df2eac2
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ public ValidationConfiguration getDefaultValidationConfiguration(String tenantDo
rules.add(getRuleConfig(NumeralValidator.class.getSimpleName(), MIN_LENGTH, "1"));
rules.add(getRuleConfig(UpperCaseValidator.class.getSimpleName(), MIN_LENGTH, "1"));
rules.add(getRuleConfig(LowerCaseValidator.class.getSimpleName(), MIN_LENGTH, "1"));
rules.add(getRuleConfig(SpecialCharacterValidator.class.getSimpleName(), MIN_LENGTH, "1"));
configuration.setRules(rules);
} else {
rules.add(getRuleConfig("JsRegExValidator", JS_REGEX, jsRegex));
Expand All @@ -89,7 +88,6 @@ public ValidationConfiguration getDefaultValidationConfiguration(String tenantDo
rules.add(getRuleConfig(NumeralValidator.class.getSimpleName(), MIN_LENGTH, "1"));
rules.add(getRuleConfig(UpperCaseValidator.class.getSimpleName(), MIN_LENGTH, "1"));
rules.add(getRuleConfig(LowerCaseValidator.class.getSimpleName(), MIN_LENGTH, "1"));
rules.add(getRuleConfig(SpecialCharacterValidator.class.getSimpleName(), MIN_LENGTH, "1"));
configuration.setRules(rules);
}
return configuration;
Expand Down

0 comments on commit df2eac2

Please sign in to comment.