Mercurial > prosody-wiki
comparison mod_lastlog.wiki @ 421:87df2ef1ee59
Update docs to explain about prosodyctl usage, and add the lastlog_stamp_offline option (thanks kdex)
author | MWild1@gmail.com |
---|---|
date | Wed, 22 Jan 2014 02:29:02 +0000 |
parents | d745b203cbbd |
children | 049ad0dda0d1 |
comparison
equal
deleted
inserted
replaced
420:eb372e6bb82f | 421:87df2ef1ee59 |
---|---|
1 #summary Log last login time | 1 #summary Log last login time |
2 #labels Stage-Beta | |
2 | 3 |
3 = Introduction = | 4 = Introduction = |
4 | 5 |
5 Simple module that stores the timestamp of when a user logs in. | 6 Simple module that stores the timestamp of when a user logs in. |
6 | 7 |
16 } | 17 } |
17 }}} | 18 }}} |
18 | 19 |
19 = Configuration = | 20 = Configuration = |
20 | 21 |
21 Setting `lastlog_ip_address` to true will make the module also log the IP address of the user. | 22 There are some options you can add to your config file: |
23 | |
24 || *Name* || *Values* || *Description* || | |
25 || lastlog_ip_address || true/false || Log the IP address of the user? || | |
26 || lastlog_stamp_offline || true/false || Log when a user goes offline> || | |
27 | |
28 = Usage = | |
29 | |
30 You can check a user's last activity by running: | |
31 | |
32 {{{ | |
33 prosodyctl mod_lastlog username@example.com | |
34 }}} | |
22 | 35 |
23 = Compatibility = | 36 = Compatibility = |
24 || 0.9 || Works after hg:55b61221ecb8 || | 37 || 0.9 || Works || |