aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_auth_anonymous.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/mod_auth_anonymous.lua b/plugins/mod_auth_anonymous.lua
index c27057be..a327f438 100644
--- a/plugins/mod_auth_anonymous.lua
+++ b/plugins/mod_auth_anonymous.lua
@@ -41,6 +41,10 @@ function provider.get_sasl_handler()
return new_sasl(module.host, anonymous_authentication_profile);
end
+function provider.users()
+ return next, hosts[host].sessions, nil;
+end
+
-- datamanager callback to disable writes
local function dm_callback(username, host, datastore, data)
if host == module.host then