Software /
code /
prosody
Comparison
plugins/mod_auth_anonymous.lua @ 6028:14c63b8c3e06
Merge 0.10->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 26 Feb 2014 22:22:43 +0100 (2014-02-26) |
parent | 6023:93b4058e3320 |
child | 8053:7d26dab7ce0d |
comparison
equal
deleted
inserted
replaced
6022:b5771e83a0ee | 6028:14c63b8c3e06 |
---|---|
41 }; | 41 }; |
42 return new_sasl(module.host, anonymous_authentication_profile); | 42 return new_sasl(module.host, anonymous_authentication_profile); |
43 end | 43 end |
44 | 44 |
45 function provider.users() | 45 function provider.users() |
46 return next, hosts[host].sessions, nil; | 46 return next, hosts[module.host].sessions, nil; |
47 end | 47 end |
48 | 48 |
49 -- datamanager callback to disable writes | 49 -- datamanager callback to disable writes |
50 local function dm_callback(username, host, datastore, data) | 50 local function dm_callback(username, host, datastore, data) |
51 if host == module.host then | 51 if host == module.host then |