summaryrefslogtreecommitdiff
path: root/program/include/main.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-08-24 09:35:16 +0000
committerthomascube <thomas@roundcube.net>2011-08-24 09:35:16 +0000
commit9d5d7a86f889948a4f8a323cef8780b74683a8a6 (patch)
treeeb2724e60fcc4cb5599a626ea8a365e19976d308 /program/include/main.inc
parent886aafe167bde8b11ea923111d96636394983ffa (diff)
Log session_id with logins
Diffstat (limited to 'program/include/main.inc')
-rw-r--r--program/include/main.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/include/main.inc b/program/include/main.inc
index 82d3eb7e9..0401fe2c1 100644
--- a/program/include/main.inc
+++ b/program/include/main.inc
@@ -2143,8 +2143,8 @@ function rcmail_log_login()
if (!$RCMAIL->config->get('log_logins') || !$RCMAIL->user)
return;
- write_log('userlogins', sprintf('Successful login for %s (ID: %d) from %s',
- $RCMAIL->user->get_username(), $RCMAIL->user->ID, rcmail_remote_ip()));
+ write_log('userlogins', sprintf('Successful login for %s (ID: %d) from %s in session %s',
+ $RCMAIL->user->get_username(), $RCMAIL->user->ID, rcmail_remote_ip(), session_id()));
}