--- fenglin/lib/passwd.inc.php 2025/04/23 05:13:57 1.4 +++ fenglin/lib/passwd.inc.php 2025/04/29 11:55:32 1.6 @@ -19,7 +19,7 @@ function verify_pass_complexity($passwor for ($i = 0; $i < $len; $i++) { $c = $password[$i]; - + if (is_numeric($c)) { $num_count++; @@ -54,8 +54,6 @@ function gen_passwd($len) $num = mt_rand(0, 61); $str .= chr($num < 10 ? (ord("0") + $num) : ($num < 36 ? (ord("A") + $num - 10) : (ord("a") + $num - 36))); } - + return $str; } - -?>