Changeset 3050 for branches/2.2


Ignore:
Timestamp:
07/14/10 15:12:34 (14 years ago)
Author:
niltonneto
Message:

Ticket #1142 - Corrigido alteração de senha para registrar no log do ExpressoAdmin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/preferences/templates/default/changepassword_default.php

    r1681 r3050  
    6363                else 
    6464                { 
    65                         $GLOBALS['phpgw_info']['user']['passwd'] = $GLOBALS['phpgw']->auth->change_password($o_passwd, $n_passwd); 
     65                        $GLOBALS['phpgw_info']['user']['passwd'] = $passwd_changed; 
     66                        $_SESSION['phpgw_info']['expresso']['user']['account_lid'] = $GLOBALS['phpgw_info']['user']['account_lid']; 
     67                        include(dirname( __FILE__ ).'/../../../expressoAdmin1_2/inc/class.db_functions.inc.php'); 
     68                        $db_functions = new db_functions(); 
     69                        $db_functions->write_log('modified user password','User change its own password in preferences'); 
    6670                        $GLOBALS['hook_values']['account_id'] = $GLOBALS['phpgw_info']['user']['account_id']; 
    6771                        $GLOBALS['hook_values']['old_passwd'] = $o_passwd; 
Note: See TracChangeset for help on using the changeset viewer.