/user/settings
settings
Password complexity policy enforced when adding a user in /user or changing a password with /password. See User for the full guide.
user/settings
Type: Settings Directory
在 /user 中添加用户或使用 /password 更改密码时强制执行的密码复杂度策略。完整指南请参见 User。
| 参数 | 类型 | 描述 |
|---|---|---|
minimum-password-length | num | 可接受的最短密码长度(字符数)。较短的密码会被拒绝,并提示 "password is too short - must be at least N characters"。范围 0 到 4294967295。默认值:0。 |
minimum-categories | num | 密码必须使用的字符类别数量,共四类:数字、小写字母、大写字母和符号。较弱的密码会被拒绝,并提示 "password is too weak - it must contain characters from at least N categories (digits, lower and upper case letters, symbols)"。范围 0 到 4。默认值:0。 |