IRedAdmin-Pro/FAQ/change.default.password.policy

From iRedMail
Revision as of 21:28, 30 June 2014 by ZhangHuangbin (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

iRedAdmin-Pro has some default password restrictions, you can find default values in file libs/default_settings.py. If you want to turn it off, please copy the parameters to main config file settings.py then change its value to False (case-sensitive). Restarting Apache service is required.

File: settings.py
# Special characters which can be used in password.
PASSWORD_SPECIAL_CHARACTERS = """#$%&'"*+-,.:;!<=>?@[]/\(){}^_`~"""

# Must contain at least one letter, one uppercase letter, one number, one special character
PASSWORD_HAS_LETTER = True
PASSWORD_HAS_UPPERCASE = True
PASSWORD_HAS_NUMBER = True
PASSWORD_HAS_SPECIAL_CHAR = True
Personal tools