diff --git a/src/utils/passwordConfig.js b/src/utils/passwordConfig.js index 6bf02755..c91386d4 100644 --- a/src/utils/passwordConfig.js +++ b/src/utils/passwordConfig.js @@ -11,7 +11,7 @@ export default { "qwe", "qwer", "qwert", "qwerty", "asdf", "asdfg", "asdfgh", "password", "passw0rd", "letmein", "welcome", "admin", "user", "test", "pass", "root", "login"], // 弱密码列表 restrictConsecutiveChars: true, // 是否限制连续字符 - maxConsecutiveChars: 3, // 最大连续字符数 + maxConsecutiveChars: 2, // 最大连续字符数 excludeUsernameInPassword: true, // 是否不允许密码包含用户名 passwordHistoryLimit: 5 // 历史密码限制条数 }