Changeset 3051 for trunk/preferences


Ignore:
Timestamp:
07/14/10 15:19:01 (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
  • trunk/preferences/templates/default/changepassword_default.php

    r2638 r3051  
    7070                { 
    7171                        $GLOBALS['phpgw_info']['user']['passwd'] = $passwd_changed; 
     72                        $_SESSION['phpgw_info']['expresso']['user']['account_lid'] = $GLOBALS['phpgw_info']['user']['account_lid']; 
     73                        include(dirname( __FILE__ ).'/../../../expressoAdmin1_2/inc/class.db_functions.inc.php'); 
     74                        $db_functions = new db_functions(); 
     75                        $db_functions->write_log('modified user password','User change its own password in preferences'); 
    7276                        $GLOBALS['hook_values']['account_id'] = $GLOBALS['phpgw_info']['user']['account_id']; 
    7377                        $GLOBALS['hook_values']['old_passwd'] = $o_passwd; 
Note: See TracChangeset for help on using the changeset viewer.