changeset 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 eb372e6bb82f
children 7e5c6a70af1e
files mod_lastlog.wiki
diffstat 1 files changed, 15 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mod_lastlog.wiki	Tue Jan 21 20:26:30 2014 +0100
+++ b/mod_lastlog.wiki	Wed Jan 22 02:29:02 2014 +0000
@@ -1,4 +1,5 @@
 #summary Log last login time
+#labels Stage-Beta
 
 = Introduction =
 
@@ -18,7 +19,19 @@
 
 = Configuration =
 
-Setting `lastlog_ip_address` to true will make the module also log the IP address of the user.
+There are some options you can add to your config file:
+
+|| *Name* || *Values* || *Description* ||
+|| lastlog_ip_address || true/false || Log the IP address of the user? ||
+|| lastlog_stamp_offline || true/false || Log when a user goes offline> ||
+
+= Usage =
+
+You can check a user's last activity by running:
+
+{{{
+  prosodyctl mod_lastlog username@example.com
+}}}
 
 = Compatibility =
-|| 0.9 || Works after hg:55b61221ecb8 ||
+|| 0.9 || Works ||
\ No newline at end of file