X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=plugins%2Fmod_auth_anonymous.lua;h=a327f43816d12e356bd8e16df52ad4bde3daa931;hb=99b003b1917a8ab0b561f7fb98d28d1fad8f8dc8;hp=c27057be2fb01e89f44d0cdf1fba5ffc9f69e3f7;hpb=748d1da5cf545c61ca6bdd57327c0899287537f1;p=prosody.git 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