diff options
author | alecpl <alec@alec.pl> | 2010-04-20 16:04:33 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-04-20 16:04:33 +0000 |
commit | 3544558f2d1b7b53de77f5ea373850dce8b05947 (patch) | |
tree | f0959fdf964bbf4fca23776c89bfc2c273ffbb3c /index.php | |
parent | c57689316780595f69bcff4ad334190bb428729a (diff) |
- Add HTTP_X_REAL_IP and HTTP_X_FORWARDED_FOR to successful logins log (#1486441)
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -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(); |