-
Bug
-
Resolution: Fixed
-
Minor
-
3.0.8
-
None
The UCP and ACP create different log entries when an administrator activates an user account. If an administrator activates an user through the ACP both a `user` and `admin` log are created.
includes/acp/acp_users.php, line:422 |
|
$message = ($user_row['user_type'] == USER_INACTIVE) ? 'USER_ADMIN_ACTIVATED' : 'USER_ADMIN_DEACTIVED';
|
$log = ($user_row['user_type'] == USER_INACTIVE) ? 'LOG_USER_ACTIVE' : 'LOG_USER_INACTIVE';
|
|
add_log('admin', $log, $user_row['username']);
|
add_log('user', $user_id, $log . '_USER');
|
However in includes/ucp/ucp_activate.php only a log entry is created when the user re-acivates his account after a password change.
However when admin activation is enabled the link the administrator receives points to the ucp activation module instead of the acp one. Therefore there are no logs of the user activation.