[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: preferences changepassword.php,1.33,1.34
From: |
Dan Kuykendall <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: preferences changepassword.php,1.33,1.34 |
Date: |
Wed, 01 May 2002 19:55:54 -0400 |
Update of /cvsroot/phpgroupware/preferences
In directory subversions:/tmp/cvs-serv28311/preferences
Modified Files:
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.33
retrieving revision 1.34
diff -C2 -r1.33 -r1.34
*** changepassword.php 29 Apr 2002 22:25:02 -0000 1.33
--- changepassword.php 1 May 2002 23:55:51 -0000 1.34
***************
*** 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: preferences changepassword.php,1.33,1.34,
Dan Kuykendall <address@hidden> <=