mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-03 20:50:19 +08:00
feat: improve default org passwordOptions handling
This commit is contained in:
@ -58,7 +58,7 @@ export function checkPasswordComplexity(password, options) {
|
||||
}
|
||||
|
||||
if (!options || options.length === 0) {
|
||||
options = ["AtLeast6"];
|
||||
return "";
|
||||
}
|
||||
|
||||
const checkers = {
|
||||
|
Reference in New Issue
Block a user