Mercurial > prosody-wiki
changeset 303:d745b203cbbd
add page fro mod_lastlog
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 20 Aug 2012 13:56:53 +0200 |
parents | 275c3ab5805b |
children | f9b80a58366f |
files | mod_lastlog.wiki |
diffstat | 1 files changed, 24 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mod_lastlog.wiki Mon Aug 20 13:56:53 2012 +0200 @@ -0,0 +1,24 @@ +#summary Log last login time + += Introduction = + +Simple module that stores the timestamp of when a user logs in. + += Usage = + +As with all modules, copy it to your plugins directory and then add it to the modules_enabled list: + +{{{ + modules_enabled = { + -- ... + "lastlog", + -- ... + } +}}} + += Configuration = + +Setting `lastlog_ip_address` to true will make the module also log the IP address of the user. + += Compatibility = +|| 0.9 || Works after hg:55b61221ecb8 ||