Email min password length

Bender

Verified User
Joined
Jul 11, 2010
Messages
6
How do I setup min password length for the email ? I changed it in /usr/local/directadmin/scripts/difficult_password.php to 8 characters but when I or users go to change password http://domain.com:2222/CMD_CHANGE_EMAIL_PASSWORD i can change to any length even 4 characters . Is there any way to force min. length password when changing password ?
 
Just tried it.
Yes, user can set e-mail password abcd
It does not seem like a good idea.
 
I changed it in /usr/local/directadmin/scripts/difficult_password.php
That is wrong anyway. Did you copy this to custom first?
If you wish to make changes to it, copy it to: /usr/local/directadmin/scripts/custom/difficult_password.php

Did you also enable it under administrator settings in Directadmin? Or enter it in directadmin.conf like this?
enforce_difficult_passwords=1
and restarted directadmin?
 
Back
Top