/[LeafOK_CVS]/fenglin/lib/passwd.inc.php
ViewVC logotype

Diff of /fenglin/lib/passwd.inc.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.5 by sysadm, Sun Apr 27 04:32:05 2025 UTC Revision 1.7 by sysadm, Thu Oct 30 11:19:14 2025 UTC
# Line 20  function verify_pass_complexity($passwor Line 20  function verify_pass_complexity($passwor
20          {          {
21                  $c = $password[$i];                  $c = $password[$i];
22    
23                  if (is_numeric($c))                  if (ctype_digit($c))
24                  {                  {
25                          $num_count++;                          $num_count++;
26                  }                  }
# Line 57  function gen_passwd($len) Line 57  function gen_passwd($len)
57    
58          return $str;          return $str;
59  }  }
   
 ?>  


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1