- added possibility to set a minimum password length for all passwords (does not count for old passwords already saved), fixes #59

- set version to 0.9.3-svn1
This commit is contained in:
Michael Kaufmann (d00p)
2010-03-17 07:51:16 +00:00
parent f9d84a09f1
commit c1de55f3d5
13 changed files with 103 additions and 9 deletions

View File

@@ -379,6 +379,7 @@ if($page == 'customers'
$createstdsubdomain = intval($_POST['createstdsubdomain']);
$password = validate($_POST['customer_password'], 'password');
$password = validatePassword($password);
$sendpassword = intval($_POST['sendpassword']);
$phpenabled = intval($_POST['phpenabled']);
$diskspace = $diskspace * 1024;
@@ -849,6 +850,7 @@ if($page == 'customers'
{
if($password != '')
{
$password = validatePassword($password);
$password = md5($password);
}
else