/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-lengthnum可接受的最短密码长度(字符数)。较短的密码会被拒绝,并提示 "password is too short - must be at least N characters"。范围 0 到 4294967295。默认值:0。
minimum-categoriesnum密码必须使用的字符类别数量,共四类:数字、小写字母、大写字母和符号。较弱的密码会被拒绝,并提示 "password is too weak - it must contain characters from at least N categories (digits, lower and upper case letters, symbols)"。范围 0 到 4。默认值:0。