phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: preferences changepassword.php,1.32,1.32.2.1


From: Dan Kuykendall <address@hidden>
Subject: [Phpgroupware-cvs] CVS: preferences changepassword.php,1.32,1.32.2.1
Date: Wed, 01 May 2002 19:56:16 -0400

Update of /cvsroot/phpgroupware/preferences
In directory subversions:/tmp/cvs-serv28336/preferences

Modified Files:
      Tag: Version-0_9_14-branch
        changepassword.php 
Log Message:
updated hooks for add/delete accounts and update password

Index: changepassword.php
===================================================================
RCS file: /cvsroot/phpgroupware/preferences/changepassword.php,v
retrieving revision 1.32
retrieving revision 1.32.2.1
diff -C2 -r1.32 -r1.32.2.1
*** changepassword.php  31 Aug 2001 16:32:05 -0000      1.32
--- changepassword.php  1 May 2002 23:56:13 -0000       1.32.2.1
***************
*** 76,82 ****
                {
                        $GLOBALS['phpgw_info']['user']['passwd'] = 
$GLOBALS['phpgw']->auth->change_password($o_passwd, $n_passwd);
                        Header('Location: ' . 
$GLOBALS['phpgw']->link('/preferences/index.php','cd=18'));
                }
- 
        }
        else
--- 76,85 ----
                {
                        $GLOBALS['phpgw_info']['user']['passwd'] = 
$GLOBALS['phpgw']->auth->change_password($o_passwd, $n_passwd);
+                       $GLOBALS['hook_values']['account_id'] = 
$GLOBALS['phpgw_info']['user']['account_id'];
+                       $GLOBALS['hook_values']['old_passwd'] = $o_passwd;
+                       $GLOBALS['hook_values']['new_passwd'] = $n_passwd;
+                       $GLOBALS['phpgw']->hooks->process('changepassword');
                        Header('Location: ' . 
$GLOBALS['phpgw']->link('/preferences/index.php','cd=18'));
                }
        }
        else




reply via email to

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