mod_lastlog/README.wiki
changeset 1786 29f3d6b7ad16
equal deleted inserted replaced
1785:12ac88940fe3 1786:29f3d6b7ad16
       
     1 #summary Log last login time
       
     2 #labels Stage-Beta
       
     3 
       
     4 = Introduction =
       
     5 
       
     6 Simple module that stores the timestamp of when a user logs in.
       
     7 
       
     8 = Usage =
       
     9 
       
    10 As with all modules, copy it to your plugins directory and then add it to the modules_enabled list:
       
    11 
       
    12 {{{
       
    13     modules_enabled = {
       
    14                     -- ...
       
    15                     "lastlog",
       
    16                     -- ...
       
    17 		}
       
    18 }}}
       
    19 
       
    20 = Configuration =
       
    21 
       
    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 || Add timestamp to offline presence? ||
       
    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 }}}
       
    35 
       
    36 = Compatibility =
       
    37 || 0.9 || Works ||