phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: admin/inc class.boaccounts.inc.php,1.26,1.27


From: Dan Kuykendall <address@hidden>
Subject: [Phpgroupware-cvs] CVS: admin/inc class.boaccounts.inc.php,1.26,1.27
Date: Sun, 26 May 2002 04:50:42 -0400

Update of /cvsroot/phpgroupware/admin/inc
In directory subversions:/tmp/cvs-serv6657/admin/inc

Modified Files:
        class.boaccounts.inc.php 
Log Message:
added password validation routines, as well as general improvements on sanitize 
function

Index: class.boaccounts.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/admin/inc/class.boaccounts.inc.php,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -r1.26 -r1.27
*** class.boaccounts.inc.php    2 May 2002 01:38:25 -0000       1.26
--- class.boaccounts.inc.php    26 May 2002 08:50:40 -0000      1.27
***************
*** 678,681 ****
--- 678,695 ----
                                        $totalerrors++;
                                }
+ 
+                               $temp_msgbox_data = 
$GLOBALS['phpgw_info']['flags']['msgbox_data'];
+                               
unset($GLOBALS['phpgw_info']['flags']['msgbox_data']);
+                               
if(!sanitize($_userData['account_passwd'],'password'))
+                               {
+                                       
reset($GLOBALS['phpgw_info']['flags']['msgbox_data']);
+                                       while(list($key) = 
each($GLOBALS['phpgw_info']['flags']['msgbox_data']))
+                                       {
+                                               $error[$totalerrors] = 
lang($key);
+                                               $totalerrors++;
+                                       }
+                               }
+                               $GLOBALS['phpgw_info']['flags']['msgbox_data'] 
= $temp_msgbox_data;
+                               unset($temp_msgbox_data);
                        }
  




reply via email to

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