phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: phpgwapi/inc common_functions.inc.php,1.8,1.9


From: Dan Kuykendall <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/inc common_functions.inc.php,1.8,1.9
Date: Sun, 26 May 2002 23:13:31 -0400

Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv21610/phpgwapi/inc

Modified Files:
        common_functions.inc.php 
Log Message:
fixed password strength rules names to be compatible with phpGW

Index: common_functions.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/common_functions.inc.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** common_functions.inc.php    26 May 2002 20:00:35 -0000      1.8
--- common_functions.inc.php    27 May 2002 03:13:28 -0000      1.9
***************
*** 247,253 ****
                                $password_special_chars = Array(' 
','~','`','!','@','#','$','%','^','&','*','(',')','_','+','-','=','{','}','|','[',']',"\\",':','"',';',"'",'<','>','?',',','.','/');
  
!                               
if(@isset($GLOBALS['phpgw_info']['server']['passwd_rules']['min_length']))
                                {
!                                       $min_length = 
$GLOBALS['phpgw_info']['server']['passwd_rules']['min_length'];
                                }
                                else
--- 247,253 ----
                                $password_special_chars = Array(' 
','~','`','!','@','#','$','%','^','&','*','(',')','_','+','-','=','{','}','|','[',']',"\\",':','"',';',"'",'<','>','?',',','.','/');
  
!                               
if(@isset($GLOBALS['phpgw_info']['server']['pass_min_length']) && 
is_int($GLOBALS['phpgw_info']['server']['pass_min_length']) && 
$GLOBALS['phpgw_info']['server']['pass_min_length'] > 1)
                                {
!                                       $min_length = 
$GLOBALS['phpgw_info']['server']['pass_min_length'];
                                }
                                else
***************
*** 256,260 ****
                                }
  
!                               
if(@isset($GLOBALS['phpgw_info']['server']['passwd_rules']['require_non_alpha'])
 && $GLOBALS['phpgw_info']['server']['passwd_rules']['require_non_alpha'] == 
True)
                                {
                                        $pass_verify_non_alpha = False;
--- 256,260 ----
                                }
  
!                               
if(@isset($GLOBALS['phpgw_info']['server']['pass_require_non_alpha']) && 
$GLOBALS['phpgw_info']['server']['pass_require_non_alpha'] == True)
                                {
                                        $pass_verify_non_alpha = False;
***************
*** 265,269 ****
                                }
                                
!                               
if(@isset($GLOBALS['phpgw_info']['server']['passwd_rules']['require_numbers']) 
&& $GLOBALS['phpgw_info']['server']['passwd_rules']['require_numbers'] == True)
                                {
                                        $pass_verify_num = False;
--- 265,269 ----
                                }
                                
!                               
if(@isset($GLOBALS['phpgw_info']['server']['pass_require_numbers']) && 
$GLOBALS['phpgw_info']['server']['pass_require_numbers'] == True)
                                {
                                        $pass_verify_num = False;
***************
*** 274,278 ****
                                }
  
!                               
if(@isset($GLOBALS['phpgw_info']['server']['passwd_rules']['require_special_char'])
 && $GLOBALS['phpgw_info']['server']['passwd_rules']['require_special_char'] == 
True)
                                {
                                        $pass_verify_special_char = False;
--- 274,278 ----
                                }
  
!                               
if(@isset($GLOBALS['phpgw_info']['server']['pass_require_special_char']) && 
$GLOBALS['phpgw_info']['server']['pass_require_special_char'] == True)
                                {
                                        $pass_verify_special_char = False;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]