Commits

Zhang Huangbin committed 1d7d079

Fix password policy while create new user.

Comments (0)

Files changed (1)

controllers/ldap/user.py

                 domain=self.domain,
                 allDomains=domainLib.list(),
                 default_quota=domainLib.getDomainDefaultUserQuota(self.domain),
+                min_passwd_length=cfg.general.get('min_passwd_length'),
+                max_passwd_length=cfg.general.get('max_passwd_length'),
                 )
 
     @base.protected