feat: improve default org passwordOptions handling

This commit is contained in:
Yang Luo
2025-02-12 21:20:32 +08:00
parent c0ec73dfd3
commit 9c46344e68
3 changed files with 3 additions and 3 deletions

View File

@ -74,7 +74,7 @@ func checkPasswordComplexity(password string, options []string) string {
}
if len(options) == 0 {
options = []string{"AtLeast6"}
return ""
}
checkers := map[string]ValidatorFunc{