diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-04-20 16:04:33 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-04-20 16:04:33 +0000 |
| commit | ac7f0f3379fc9ffae2998727531daeab2a66e4f5 (patch) | |
| tree | ec618e37085f2257e9676cf3a5ea02e51775bd76 /roundcubemail/index.php | |
| parent | 037ec19576dcc6ad2eb44f147af3611de9b8e034 (diff) | |
- Add HTTP_X_REAL_IP and HTTP_X_FORWARDED_FOR to successful logins log (#1486441)
git-svn-id: https://svn.roundcube.net/trunk@3513 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/index.php')
| -rw-r--r-- | roundcubemail/index.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/roundcubemail/index.php b/roundcubemail/index.php index d3cf06f0a..43cf7c413 100644 --- a/roundcubemail/index.php +++ b/roundcubemail/index.php @@ -103,12 +103,7 @@ if ($RCMAIL->task == 'login' && $RCMAIL->action == 'login') { $RCMAIL->authenticate_session(); // log successful login - if ($RCMAIL->config->get('log_logins')) { - write_log('userlogins', sprintf('Successful login for %s (id %d) from %s', - $RCMAIL->user->get_username(), - $RCMAIL->user->ID, - $_SERVER['REMOTE_ADDR'])); - } + rcmail_log_login(); // restore original request parameters $query = array(); |
