Mention parameters used to control password length (iredadmin-pro.default.password.policy.html).

This commit is contained in:
Zhang Huangbin 2017-01-02 13:30:46 +08:00
parent 3a18598216
commit 458b16fee9
2 changed files with 23 additions and 0 deletions

View File

@ -11,6 +11,20 @@
don't want to hack your server, they just want to send spam from your
server. Please ALWAYS ALWAYS ALWAYS force users to use strong password.
## Password length
You can define required password length in iRedAdmin config file, parameters:
```
# 0 means unlimited, but at least 1 character is required.
min_passwd_length = 8
max_passwd_length = 0
```
It's also supported to set a per-domain password length in domain profile page.
## Password policy
iRedAdmin-Pro has some default password restrictions, you can find default
settings in file `libs/default_settings.py` under iRedAdmin-Pro directory.
If you want to change them, please copy the parameters to iRedAdmin-Pro config

View File

@ -27,6 +27,15 @@ after updated iRedAdmin config file.</p>
don't want to hack your server, they just want to send spam from your
server. Please ALWAYS ALWAYS ALWAYS force users to use strong password.</p>
</div>
<h2 id="password-length">Password length</h2>
<p>You can define required password length in iRedAdmin config file, parameters:</p>
<pre><code># 0 means unlimited, but at least 1 character is required.
min_passwd_length = 8
max_passwd_length = 0
</code></pre>
<p>It's also supported to set a per-domain password length in domain profile page.</p>
<h2 id="password-policy">Password policy</h2>
<p>iRedAdmin-Pro has some default password restrictions, you can find default
settings in file <code>libs/default_settings.py</code> under iRedAdmin-Pro directory.
If you want to change them, please copy the parameters to iRedAdmin-Pro config