mod_auth_anonymous: Implement user iteration API

vault/0.11
Kim Alvefur 13 years ago
parent 6005d43dd7
commit 733cbda1e5
  1. 4
      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

Loading…
Cancel
Save