mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
Merge branch 'erikfrerejean/ticket/9961' into develop-olympus
* erikfrerejean/ticket/9961: [ticket/9961] Create log entries when users are activated.
This commit is contained in:
commit
aa7be58d41
1 changed files with 7 additions and 0 deletions
|
@ -98,6 +98,13 @@ class ucp_activate
|
|||
SET user_actkey = ''
|
||||
WHERE user_id = {$user_row['user_id']}";
|
||||
$db->sql_query($sql);
|
||||
|
||||
// Create the correct logs
|
||||
add_log('user', $user_row['user_id'], 'LOG_USER_ACTIVE_USER');
|
||||
if ($auth->acl_get('a_user'))
|
||||
{
|
||||
add_log('admin', 'LOG_USER_ACTIVE', $user_row['username']);
|
||||
}
|
||||
}
|
||||
|
||||
if ($config['require_activation'] == USER_ACTIVATION_ADMIN && !$update_password)
|
||||
|
|
Loading…
Add table
Reference in a new issue