Open start_page.php
find
// --------------------------------------------------------------
// If we found an email address then we mail the password to them
if ($Email) {
// -------------------
// Generate a password
$a = time();
mt_srand($a);
$passset = array('a','b','c','d','e','f','g','h','i','j','k','m','n','o','p','q','r','s','t','u','v','x','y','z','A','B','C','D','E','F','G','H','I','J','K','M','N','P','Q','R','S','T','U','V','W','X','Y','Z','2','3','4','5','6','7','8','9');
$chars = sizeof($passset);
$pass = "";
for ($i=0; $i < 6; $i++) {
$randnum = intval(mt_rand(0,$chars)) ;
$pass .= $passset[$randnum];
}
Replace with
// --------------------------------------------------------------
// If we found an email address then we mail the password to them
if ($Email) {
// -------------------
// Generate a password
$a = time();
mt_srand($a);
$passset = array('a','b','c','d','e','f','g','h','i','j','k','m','n','o','p','q','r','s','t','u','v','x','y','z','2','3','4','5','6','7','8','9');
$chars = sizeof($passset);
$pass = "";
for ($i=0; $i < 6; $i++) {
$randnum = intval(mt_rand(0,$chars)) ;
$pass .= $passset[$randnum];
}
You can make a similar change in adduser.php if you send initial random passwords, and wish for these to be lowercase.
This is for 6.4.x
If you have added the mod for admin mailing a password, then another change is required in admin/adminmailpassword.php