1

Topic: latest version: disable password special character requirement

We need this :

Password must contain
at least one letter
at least one uppercase letter
at least one digit number
at least one special character: #$%&'"*+-,.:;!<=>?@[]/\(){}^_`~
Need a random password?
y7j3j$7sXF%w

to become this

Password must contain
at least one letter
at least one uppercase letter
at least one digit number
Need a random password?
y7j3jw7sXFxw

==== Required information ====
- iRedMail version: latest
- Store mail accounts in which backend (LDAP):
- Linux/BSD distribution name and version: debian 7
====

2

Re: latest version: disable password special character requirement

Add below parameter and value in iRedAdmin-Pro config file "settings.py":

PASSWORD_HAS_SPECIAL_CHAR = False

Then restart Apache service.

You can find password restriction rules in file "libs/default_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

3

Re: latest version: disable password special character requirement

fixed, Thanks Zhang